Class: Aws::CloudTrail::Types::Tag

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-cloudtrail/types.rb

Overview

A custom key-value pair associated with a resource such as a CloudTrail trail, event data store, or channel.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

The key in a key-value pair. The key must be must be no longer than 128 Unicode characters. The key must be unique for the resource to which it applies.

Returns:

  • (String)


5058
5059
5060
5061
5062
5063
# File 'lib/aws-sdk-cloudtrail/types.rb', line 5058

class Tag < Struct.new(
  :key,
  :value)
  SENSITIVE = []
  include Aws::Structure
end

#valueString

The value in a key-value pair of a tag. The value must be no longer than 256 Unicode characters.

Returns:

  • (String)


5058
5059
5060
5061
5062
5063
# File 'lib/aws-sdk-cloudtrail/types.rb', line 5058

class Tag < Struct.new(
  :key,
  :value)
  SENSITIVE = []
  include Aws::Structure
end