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

Class: Aws::EMR::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: "String",
  value: "String",
}

A key/value pair containing user-defined metadata that you can associate with an Amazon EMR resource. Tags make it easier to associate clusters in various ways, such as grouping clusters to track your Amazon EMR resource allocation costs. For more information, see Tagging Amazon EMR Resources.

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

A user-defined key, which is the minimum required information for a valid tag. For more information, see Tagging Amazon EMR Resources.

Returns:

  • (String)

    A user-defined key, which is the minimum required information for a valid tag.

#valueString

A user-defined value, which is optional in a tag. For more information, see Tagging Amazon EMR Resources.

Returns:

  • (String)

    A user-defined value, which is optional in a tag.