interface MetricDimensionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.ApplicationAutoScaling.CfnScalingPolicy.MetricDimensionProperty |
Java | software.amazon.awscdk.services.applicationautoscaling.CfnScalingPolicy.MetricDimensionProperty |
Python | aws_cdk.aws_applicationautoscaling.CfnScalingPolicy.MetricDimensionProperty |
TypeScript | @aws-cdk/aws-applicationautoscaling » CfnScalingPolicy » MetricDimensionProperty |
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 * as appscaling from '@aws-cdk/aws-applicationautoscaling';
const metricDimensionProperty: appscaling.CfnScalingPolicy.MetricDimensionProperty = {
name: 'name',
value: 'value',
};
Properties
| Name | Type | Description |
|---|---|---|
| name | string | The name of the dimension. |
| value | string | The value of the dimension. |
name
Type:
string
The name of the dimension.
value
Type:
string
The value of the dimension.

.NET
Java
Python
TypeScript