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 Tag Clusters.

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 Tag .

Returns:

  • (String)


5281
5282
5283
5284
5285
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 5281

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 Tag Clusters.

Returns:

  • (String)


5281
5282
5283
5284
5285
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 5281

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