interface MetricDimensionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.AutoScalingPlans.CfnScalingPlanPropsMixin.MetricDimensionProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsautoscalingplans#CfnScalingPlanPropsMixin_MetricDimensionProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.autoscalingplans.CfnScalingPlanPropsMixin.MetricDimensionProperty |
Python | aws_cdk.cfn_property_mixins.aws_autoscalingplans.CfnScalingPlanPropsMixin.MetricDimensionProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_autoscalingplans » CfnScalingPlanPropsMixin » MetricDimensionProperty |
MetricDimension is a subproperty of CustomizedScalingMetricSpecification that specifies a dimension for a customized metric to use with a scaling plan. Dimensions are arbitrary name/value pairs that can be associated with a CloudWatch metric. 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_autoscalingplans as autoscalingplans } from '@aws-cdk/cfn-property-mixins';
const metricDimensionProperty: autoscalingplans.CfnScalingPlanPropsMixin.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
(optional)
The name of the dimension.
value?
Type:
string
(optional)
The value of the dimension.

.NET
Go
Java
Python
TypeScript