class
Amazonite::CloudWatchLogs::TagResourceRequest
- Amazonite::CloudWatchLogs::TagResourceRequest
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
cloudwatch_logs/tag_resource_request.crConstructors
- .new(resource_arn : String, tags : Hash(String, String))
- .new(pull : JSON::PullParser)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#hash(hasher)
See
Object#hash(hasher) -
#resource_arn : String
The ARN of the resource that you're adding tags to.
-
#resource_arn=(resource_arn : String)
The ARN of the resource that you're adding tags to.
-
#tags : Hash(String, String)
The list of key-value pairs to associate with the resource.
-
#tags=(tags : Hash(String, String))
The list of key-value pairs to associate with the resource.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The ARN of the resource that you're adding tags to.
The ARN format of a log group is arn:aws:logs:*Region*:*account-id*:log-group:*log-group-name*
The ARN format of a destination is
arn:aws:logs:*Region*:*account-id*:destination:*destination-name*
For more information about ARN format, see CloudWatch Logs resources and operations.
The ARN of the resource that you're adding tags to.
The ARN format of a log group is arn:aws:logs:*Region*:*account-id*:log-group:*log-group-name*
The ARN format of a destination is
arn:aws:logs:*Region*:*account-id*:destination:*destination-name*
For more information about ARN format, see CloudWatch Logs resources and operations.
The list of key-value pairs to associate with the resource.