Class: Aws::CloudWatchLogs::Types::AccountPolicy
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudWatchLogs::Types::AccountPolicy
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-cloudwatchlogs/types.rb
Overview
A structure that contains information about one CloudWatch Logs account policy.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#account_id ⇒ String
The Amazon Web Services account ID that the policy applies to.
-
#last_updated_time ⇒ Integer
The date and time that this policy was most recently updated.
-
#policy_document ⇒ String
The policy document for this account policy.
-
#policy_name ⇒ String
The name of the account policy.
-
#policy_type ⇒ String
The type of policy for this account policy.
-
#scope ⇒ String
The scope of the account policy.
-
#selection_criteria ⇒ String
The log group selection criteria that is used for this policy.
Instance Attribute Details
#account_id ⇒ String
The Amazon Web Services account ID that the policy applies to.
55 56 57 58 59 60 61 62 63 64 65 |
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 55 class AccountPolicy < Struct.new( :policy_name, :policy_document, :last_updated_time, :policy_type, :scope, :selection_criteria, :account_id) SENSITIVE = [] include Aws::Structure end |
#last_updated_time ⇒ Integer
The date and time that this policy was most recently updated.
55 56 57 58 59 60 61 62 63 64 65 |
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 55 class AccountPolicy < Struct.new( :policy_name, :policy_document, :last_updated_time, :policy_type, :scope, :selection_criteria, :account_id) SENSITIVE = [] include Aws::Structure end |
#policy_document ⇒ String
The policy document for this account policy.
The JSON specified in ‘policyDocument` can be up to 30,720 characters.
55 56 57 58 59 60 61 62 63 64 65 |
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 55 class AccountPolicy < Struct.new( :policy_name, :policy_document, :last_updated_time, :policy_type, :scope, :selection_criteria, :account_id) SENSITIVE = [] include Aws::Structure end |
#policy_name ⇒ String
The name of the account policy.
55 56 57 58 59 60 61 62 63 64 65 |
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 55 class AccountPolicy < Struct.new( :policy_name, :policy_document, :last_updated_time, :policy_type, :scope, :selection_criteria, :account_id) SENSITIVE = [] include Aws::Structure end |
#policy_type ⇒ String
The type of policy for this account policy.
55 56 57 58 59 60 61 62 63 64 65 |
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 55 class AccountPolicy < Struct.new( :policy_name, :policy_document, :last_updated_time, :policy_type, :scope, :selection_criteria, :account_id) SENSITIVE = [] include Aws::Structure end |
#scope ⇒ String
The scope of the account policy.
55 56 57 58 59 60 61 62 63 64 65 |
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 55 class AccountPolicy < Struct.new( :policy_name, :policy_document, :last_updated_time, :policy_type, :scope, :selection_criteria, :account_id) SENSITIVE = [] include Aws::Structure end |
#selection_criteria ⇒ String
The log group selection criteria that is used for this policy.
55 56 57 58 59 60 61 62 63 64 65 |
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 55 class AccountPolicy < Struct.new( :policy_name, :policy_document, :last_updated_time, :policy_type, :scope, :selection_criteria, :account_id) SENSITIVE = [] include Aws::Structure end |