Class: Aws::EC2::Types::Tag

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb

Overview

Describes a tag.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

The key of the tag.

Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:.

Returns:

  • (String)


64506
64507
64508
64509
64510
64511
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 64506

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

#valueString

The value of the tag.

Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.

Returns:

  • (String)


64506
64507
64508
64509
64510
64511
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 64506

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