AWS CloudFormation
User Guide (Version )

The AWS Documentation website is getting a new look!
Try it now and let us know what you think. Switch to the new look >>

You can return to the original look by selecting English in the language selector above.

AWS::EMR::Cluster MetricDimension

MetricDimension is a subproperty of the CloudWatchAlarmDefinition property type. MetricDimension specifies a CloudWatch dimension, which is specified with a Key Value pair. The key is known as a Name in CloudWatch. 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 automatic scaling rule for EMR to bootstrap when the cluster ID becomes available during cluster creation.


To declare this entity in your AWS CloudFormation template, use the following syntax:


{ "Key" : String, "Value" : String }


Key: String Value: String



The dimension name.

Required: Yes

Type: String

Update requires: No interruption


The dimension value.

Required: Yes

Type: String

Update requires: No interruption

On this page: