Table of Contents

Class CfnScalingPolicy.MetricDimensionProperty

Namespace
Amazon.CDK.AWS.AutoScaling
Assembly
Amazon.CDK.AWS.AutoScaling.dll

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.

public class CfnScalingPolicy.MetricDimensionProperty : CfnScalingPolicy.IMetricDimensionProperty
Inheritance
CfnScalingPolicy.MetricDimensionProperty
Implements
Inherited Members

Examples

// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.AutoScaling;

             var metricDimensionProperty = new MetricDimensionProperty {
                 Name = "name",
                 Value = "value"
             };

Remarks

Constructors

MetricDimensionProperty()

public MetricDimensionProperty()

Properties

Name

The name of the dimension.

public string Name { get; set; }

Property Value

string

Remarks

Value

The value of the dimension.

public string Value { get; set; }

Property Value

string

Remarks