You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing Tag as input to an Aws::Client method, you can use a vanilla 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)

    The key of the tag.

#tag_valueString

The value of the tag.

Returns:

  • (String)

    The value of the tag.