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

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

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 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 $\{emr.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 'gems/aws-sdk-emr/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 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 3697

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