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