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)


5869
5870
5871
5872
5873
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 5869

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)


5869
5870
5871
5872
5873
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 5869

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