interface MetricDimensionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.AutoScalingPlans.Mixins.CfnScalingPlanPropsMixin.MetricDimensionProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsautoscalingplans/mixins#CfnScalingPlanPropsMixin_MetricDimensionProperty |
Java | software.amazon.awscdk.mixins.preview.services.autoscalingplans.mixins.CfnScalingPlanPropsMixin.MetricDimensionProperty |
Python | aws_cdk.mixins_preview.aws_autoscalingplans.mixins.CfnScalingPlanPropsMixin.MetricDimensionProperty |
TypeScript | @aws-cdk/mixins-preview » aws_autoscalingplans » mixins » 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 { mixins as autoscalingplans_mixins } from '@aws-cdk/mixins-preview/aws-autoscalingplans';
const metricDimensionProperty: autoscalingplans_mixins.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