Interface CfnAlarm.DimensionProperty

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

@Stability(Stable) public static interface CfnAlarm.DimensionProperty extends software.amazon.jsii.JsiiSerializable
Dimension is an embedded property of the AWS::CloudWatch::Alarm type.

Dimensions are name/value pairs that can be associated with a CloudWatch metric. You can specify a maximum of 10 dimensions for a given metric.

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.cloudwatch.*;
 DimensionProperty dimensionProperty = DimensionProperty.builder()
         .name("name")
         .value("value")
         .build();