class
Amazonite::CloudWatchLogs::ResourcePolicy
- Amazonite::CloudWatchLogs::ResourcePolicy
- Reference
- Object
Overview
A policy enabling one or more entities to put logs to a log group in this account.
Included Modules
- JSON::Serializable
Defined in:
cloudwatch_logs/resource_policy.crConstructors
- .new(pull : JSON::PullParser)
- .new(policy_name : String | Nil = nil, policy_document : String | Nil = nil, last_updated_time : Int64 | Nil = nil, policy_scope : PolicyScope | Nil = nil, resource_arn : String | Nil = nil, revision_id : String | Nil = nil)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#hash(hasher)
See
Object#hash(hasher) -
#last_updated_time : Int64 | Nil
Timestamp showing when this policy was last updated, expressed as the number of milliseconds after
Jan 1, 1970 00:00:00 UTC. -
#last_updated_time=(last_updated_time : Int64 | Nil)
Timestamp showing when this policy was last updated, expressed as the number of milliseconds after
Jan 1, 1970 00:00:00 UTC. -
#policy_document : String | Nil
The details of the policy.
-
#policy_document=(policy_document : String | Nil)
The details of the policy.
-
#policy_name : String | Nil
The name of the resource policy.
-
#policy_name=(policy_name : String | Nil)
The name of the resource policy.
-
#policy_scope : PolicyScope | Nil
Specifies scope of the resource policy.
-
#policy_scope=(policy_scope : PolicyScope | Nil)
Specifies scope of the resource policy.
-
#resource_arn : String | Nil
The ARN of the CloudWatch Logs resource to which the resource policy is attached.
-
#resource_arn=(resource_arn : String | Nil)
The ARN of the CloudWatch Logs resource to which the resource policy is attached.
-
#revision_id : String | Nil
The revision ID of the resource policy.
-
#revision_id=(revision_id : String | Nil)
The revision ID of the resource policy.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
Timestamp showing when this policy was last updated, expressed as the number of milliseconds
after Jan 1, 1970 00:00:00 UTC.
Timestamp showing when this policy was last updated, expressed as the number of milliseconds
after Jan 1, 1970 00:00:00 UTC.
Specifies scope of the resource policy. Valid values are ACCOUNT or RESOURCE.
Specifies scope of the resource policy. Valid values are ACCOUNT or RESOURCE.
The ARN of the CloudWatch Logs resource to which the resource policy is attached. Only populated for resource-scoped policies.
The ARN of the CloudWatch Logs resource to which the resource policy is attached. Only populated for resource-scoped policies.
The revision ID of the resource policy. Only populated for resource-scoped policies.
The revision ID of the resource policy. Only populated for resource-scoped policies.