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)


63455
63456
63457
63458
63459
63460
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 63455

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)


63455
63456
63457
63458
63459
63460
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 63455

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