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:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnScalingPolicy.MetricDimensionProperty
static final class
An implementation forCfnScalingPolicy.MetricDimensionProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
The name of the dimension.- See Also:
-
getValue
The value of the dimension.- See Also:
-
builder
-