interface MetricDimensionProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.AutoScalingPlans.CfnScalingPlan.MetricDimensionProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsautoscalingplans#CfnScalingPlan_MetricDimensionProperty |
![]() | software.amazon.awscdk.services.autoscalingplans.CfnScalingPlan.MetricDimensionProperty |
![]() | aws_cdk.aws_autoscalingplans.CfnScalingPlan.MetricDimensionProperty |
![]() | aws-cdk-lib » aws_autoscalingplans » CfnScalingPlan » 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-lib';
const metricDimensionProperty: autoscalingplans.CfnScalingPlan.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.