Skip to content
v2.275.0

MetricDimensionProperty Struct ​

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

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_stepfunctions_tasks as stepfunctions_tasks } from 'aws-cdk-lib';
const metricDimensionProperty: stepfunctions_tasks.EmrCreateCluster.MetricDimensionProperty = {
  key: 'key',
  value: 'value',
};

Properties ​

keystringkeystrkeyStringKeystringKey*stringrequired#
The dimension name.
valuestringvaluestrvalueStringValuestringValue*stringrequired#
The dimension value.