AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Class: Aws::EBS::Types::Tag

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

Overview

Note:

When making an API call, you may pass Tag data as a hash:

{
  key: "TagKey",
  value: "TagValue",
}

Describes a tag.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

The key of the tag.

Returns:

  • (String)


784
785
786
787
788
789
# File 'gems/aws-sdk-ebs/lib/aws-sdk-ebs/types.rb', line 784

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

#valueString

The value of the tag.

Returns:

  • (String)


784
785
786
787
788
789
# File 'gems/aws-sdk-ebs/lib/aws-sdk-ebs/types.rb', line 784

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