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

Class: Aws::CloudDirectory::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:

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

The tag structure that contains a tag key and value.

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

The key that is associated with the tag.

Returns:

  • (String)

    The key that is associated with the tag.

#valueString

The value that is associated with the tag.

Returns:

  • (String)

    The value that is associated with the tag.