class
Amazonite::CloudWatchLogs::AccountPolicy
- Amazonite::CloudWatchLogs::AccountPolicy
- Reference
- Object
Overview
A structure that contains information about one CloudWatch Logs account policy.
Included Modules
- JSON::Serializable
Defined in:
cloudwatch_logs/account_policy.crConstructors
- .new(pull : JSON::PullParser)
- .new(policy_name : String | Nil = nil, policy_document : String | Nil = nil, last_updated_time : Int64 | Nil = nil, policy_type : PolicyType | Nil = nil, scope : Scope | Nil = nil, selection_criteria : String | Nil = nil, account_id : String | Nil = nil)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#account_id : String | Nil
The Amazon Web Services account ID that the policy applies to.
-
#account_id=(account_id : String | Nil)
The Amazon Web Services account ID that the policy applies to.
-
#hash(hasher)
See
Object#hash(hasher) -
#last_updated_time : Int64 | Nil
The date and time that this policy was most recently updated.
-
#last_updated_time=(last_updated_time : Int64 | Nil)
The date and time that this policy was most recently updated.
-
#policy_document : String | Nil
The policy document for this account policy.
-
#policy_document=(policy_document : String | Nil)
The policy document for this account policy.
-
#policy_name : String | Nil
The name of the account policy.
-
#policy_name=(policy_name : String | Nil)
The name of the account policy.
-
#policy_type : PolicyType | Nil
The type of policy for this account policy.
-
#policy_type=(policy_type : PolicyType | Nil)
The type of policy for this account policy.
-
#scope : Scope | Nil
The scope of the account policy.
-
#scope=(scope : Scope | Nil)
The scope of the account policy.
-
#selection_criteria : String | Nil
The log group selection criteria that is used for this policy.
-
#selection_criteria=(selection_criteria : String | Nil)
The log group selection criteria that is used for this policy.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The Amazon Web Services account ID that the policy applies to.
The date and time that this policy was most recently updated.
The policy document for this account policy.
The JSON specified in policyDocument can be up to 30,720 characters.
The policy document for this account policy.
The JSON specified in policyDocument can be up to 30,720 characters.
The log group selection criteria that is used for this policy.
The log group selection criteria that is used for this policy.