Table of Contents

Interface CfnScalingPolicy.IMetricDimensionProperty

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 interface CfnScalingPolicy.IMetricDimensionProperty

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

Properties

Name

The name of the dimension.

string Name { get; }

Property Value

string

Remarks

Value

The value of the dimension.

string Value { get; }

Property Value

string

Remarks