Class: Aws::CloudWatchLogs::Types::TagResourceRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudWatchLogs::Types::TagResourceRequest
- Includes:
- Structure
- Defined in:
- 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].
[1]: docs.aws.amazon.com/AmazonCloudWatch/latest/logs/iam-access-control-overview-cwl.html
7563 7564 7565 7566 7567 7568 |
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 7563 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.
7563 7564 7565 7566 7567 7568 |
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 7563 class TagResourceRequest < Struct.new( :resource_arn, :tags) SENSITIVE = [] include Aws::Structure end |