Class: Aws::CloudWatchLogs::Types::TagResourceRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudWatchLogs::Types::TagResourceRequest
- Defined in:
- gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#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.
Instance Attribute Details
#resource_arn ⇒ String
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.
7586 7587 7588 7589 7590 7591 |
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 7586 class TagResourceRequest < Struct.new( :resource_arn, :tags) SENSITIVE = [] include Aws::Structure end |
#tags ⇒ Hash<String,String>
The list of key-value pairs to associate with the resource.
7586 7587 7588 7589 7590 7591 |
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 7586 class TagResourceRequest < Struct.new( :resource_arn, :tags) SENSITIVE = [] include Aws::Structure end |