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

Class: Aws::IoT::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", # required
  value: "TagValue",
}

A set of key/value pairs that are used to manage the resource.

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

The tag\'s key.

Returns:

  • (String)

    The tag\'s key.

#valueString

The tag\'s value.

Returns:

  • (String)

    The tag\'s value.