Interface CfnScalingPolicy.MetricDimensionProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnScalingPolicy.MetricDimensionProperty.Jsii$Proxy
Enclosing class:
CfnScalingPolicy

@Stability(Stable) public static interface CfnScalingPolicy.MetricDimensionProperty extends software.amazon.jsii.JsiiSerializable
MetricDimension specifies a name/value pair that is part of the identity of a CloudWatch metric for the Dimensions property of the AWS::ApplicationAutoScaling::ScalingPolicy CustomizedMetricSpecification property type. Duplicate dimensions are not allowed.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.applicationautoscaling.*;
 MetricDimensionProperty metricDimensionProperty = MetricDimensionProperty.builder()
         .name("name")
         .value("value")
         .build();
 

See Also: