Class: Aws::EMR::Types::MetricDimension

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

Overview

Note:

When making an API call, you may pass MetricDimension data as a hash:

{
  key: "String",
  value: "String",
}

A CloudWatch dimension, which is specified using a ‘Key` (known as a `Name` in CloudWatch), `Value` pair. By default, Amazon EMR uses one dimension whose `Key` is `JobFlowID` and `Value` is a variable representing the cluster ID, which is `$emremr.clusterId`. This enables the rule to bootstrap when the cluster ID becomes available.

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

The dimension name.

Returns:

  • (String)


3697
3698
3699
3700
3701
# File 'lib/aws-sdk-emr/types.rb', line 3697

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

#valueString

The dimension value.

Returns:

  • (String)


3697
3698
3699
3700
3701
# File 'lib/aws-sdk-emr/types.rb', line 3697

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