Class: Aws::CloudTrail::Types::AddTagsRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudTrail::Types::AddTagsRequest
- Defined in:
- gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb
Overview
Specifies the tags to add to a trail, event data store, or channel.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#resource_id ⇒ String
Specifies the ARN of the trail, event data store, or channel to which one or more tags will be added.
-
#tags_list ⇒ Array<Types::Tag>
Contains a list of tags, up to a limit of 50.
Instance Attribute Details
#resource_id ⇒ String
Specifies the ARN of the trail, event data store, or channel to which one or more tags will be added.
The format of a trail ARN is:
arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
The format of an event data store ARN is:
arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE
The format of a channel ARN is:
arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890
69 70 71 72 73 74 |
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 69 class AddTagsRequest < Struct.new( :resource_id, :tags_list) SENSITIVE = [] include Aws::Structure end |
#tags_list ⇒ Array<Types::Tag>
Contains a list of tags, up to a limit of 50
69 70 71 72 73 74 |
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 69 class AddTagsRequest < Struct.new( :resource_id, :tags_list) SENSITIVE = [] include Aws::Structure end |