interface MetricDimensionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.AutoScaling.CfnScalingPolicyPropsMixin.MetricDimensionProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsautoscaling#CfnScalingPolicyPropsMixin_MetricDimensionProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.autoscaling.CfnScalingPolicyPropsMixin.MetricDimensionProperty |
Python | aws_cdk.cfn_property_mixins.aws_autoscaling.CfnScalingPolicyPropsMixin.MetricDimensionProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_autoscaling » CfnScalingPolicyPropsMixin » MetricDimensionProperty |
MetricDimension specifies a name/value pair that is part of the identity of a CloudWatch metric for the Dimensions property of the AWS::AutoScaling::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 { aws_autoscaling as autoscaling } from '@aws-cdk/cfn-property-mixins';
const metricDimensionProperty: autoscaling.CfnScalingPolicyPropsMixin.MetricDimensionProperty = {
name: 'name',
value: 'value',
};
Properties
| Name | Type | Description |
|---|---|---|
| name? | string | The name of the dimension. |
| value? | string | IAuto | ICluster | The value of the dimension. |
name?
Type:
string
(optional)
The name of the dimension.
value?
Type:
string | IAuto | ICluster
(optional)
The value of the dimension.

.NET
Go
Java
Python
TypeScript