Class: Aws::CloudTrail::Types::AddTagsRequest

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#resource_idString

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

Returns:

  • (String)


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_listArray<Types::Tag>

Contains a list of tags, up to a limit of 50

Returns:



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