Class CfnScalingPolicy.MetricDimensionProperty
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.
Inheritance
System.Object
CfnScalingPolicy.MetricDimensionProperty
Implements
Namespace: Amazon.CDK.AWS.AutoScaling
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class MetricDimensionProperty : Object, CfnScalingPolicy.IMetricDimensionProperty
Syntax (vb)
Public Class MetricDimensionProperty
Inherits Object
Implements CfnScalingPolicy.IMetricDimensionProperty
Remarks
ExampleMetadata: fixture=_generated
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"
};
Synopsis
Constructors
MetricDimensionProperty() |
Properties
Name | The name of the dimension. |
Value | The value of the dimension. |
Constructors
MetricDimensionProperty()
public MetricDimensionProperty()
Properties
Name
The name of the dimension.
public string Name { get; set; }
Property Value
System.String
Remarks
Value
The value of the dimension.
public string Value { get; set; }
Property Value
System.String