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)


58524
58525
58526
58527
58528
58529
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 58524

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)


58524
58525
58526
58527
58528
58529
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 58524

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