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

Class: Aws::EMR::Types::Tag

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb

Overview

Note:

When making an API call, you may pass Tag data as a 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)


5165
5166
5167
5168
5169
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 5165

class Tag < Struct.new(
  :key,
  :value)
  include Aws::Structure
end

#valueString

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

Returns:

  • (String)


5165
5166
5167
5168
5169
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 5165

class Tag < Struct.new(
  :key,
  :value)
  include Aws::Structure
end