Class: Aws::CloudWatchLogs::Types::AccountPolicy
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudWatchLogs::Types::AccountPolicy
- Defined in:
- gems/aws-sdk-cloudwatchlogs/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 for this subscription filter policy.
Instance Attribute Details
#account_id ⇒ String
The Amazon Web Services account ID that the policy applies to.
56 57 58 59 60 61 62 63 64 65 66 |
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 56 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.
56 57 58 59 60 61 62 63 64 65 66 |
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 56 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.
56 57 58 59 60 61 62 63 64 65 66 |
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 56 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.
56 57 58 59 60 61 62 63 64 65 66 |
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 56 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.
56 57 58 59 60 61 62 63 64 65 66 |
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 56 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.
56 57 58 59 60 61 62 63 64 65 66 |
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 56 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 for this subscription filter policy.
56 57 58 59 60 61 62 63 64 65 66 |
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 56 class AccountPolicy < Struct.new( :policy_name, :policy_document, :last_updated_time, :policy_type, :scope, :selection_criteria, :account_id) SENSITIVE = [] include Aws::Structure end |