Class: Aws::KMS::Types::Tag

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

Overview

Note:

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

{
  tag_key: "TagKeyType", # required
  tag_value: "TagValueType", # required
}

A key-value pair. A tag consists of a tag key and a tag value. Tag keys and tag values are both required, but tag values can be empty (null) strings.

Instance Attribute Summary collapse

Instance Attribute Details

#tag_keyString

The key of the tag.

Returns:

  • (String)


2150
2151
2152
2153
2154
# File 'lib/aws-sdk-kms/types.rb', line 2150

class Tag < Struct.new(
  :tag_key,
  :tag_value)
  include Aws::Structure
end

#tag_valueString

The value of the tag.

Returns:

  • (String)


2150
2151
2152
2153
2154
# File 'lib/aws-sdk-kms/types.rb', line 2150

class Tag < Struct.new(
  :tag_key,
  :tag_value)
  include Aws::Structure
end