Class: Aws::CloudFormation::Types::Tag

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

Overview

The Tag type enables you to specify a key-value pair that can be used to store information about an CloudFormation stack.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

Required. A string used to identify this tag. You can specify a maximum of 128 characters for a tag key. Tags owned by Amazon Web Services (Amazon Web Services) have the reserved prefix: `aws:`.

Returns:

  • (String)

8254
8255
8256
8257
8258
8259
# File 'lib/aws-sdk-cloudformation/types.rb', line 8254

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

#valueString

Required. A string containing the value for this tag. You can specify a maximum of 256 characters for a tag value.

Returns:

  • (String)

8254
8255
8256
8257
8258
8259
# File 'lib/aws-sdk-cloudformation/types.rb', line 8254

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