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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

The dimension name.

Returns:

  • (String)


5268
5269
5270
5271
5272
5273
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 5268

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

#valueString

The dimension value.

Returns:

  • (String)


5268
5269
5270
5271
5272
5273
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 5268

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