Application Auto Scaling ScalingPolicy CustomizedMetricSpecification
The CustomizedMetricSpecification property configures a customized metric (an
Amazon CloudWatch metric of your choosing) for a target tracking policy to use with
Application Auto Scaling.
CustomizedMetricSpecification is a subproperty of the Application Auto Scaling ScalingPolicy TargetTrackingScalingPolicyConfiguration property.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "Dimensions" : [MetricDimension, ...], "MetricName" :String, "Namespace" :String, "Statistic" :String, "Unit" :String}
YAML
Dimensions: -MetricDimensionMetricName:StringNamespace:StringStatistic:StringUnit:String
Properties
Dimensions-
The dimensions of the metric. Duplicates not allowed.
Required: No
Type: List of Application Auto Scaling ScalingPolicy MetricDimension
Update requires: No interruption
MetricName-
The name of the metric.
Required: Yes
Type: String
Update requires: No interruption
Namespace-
The namespace of the metric.
Required: Yes
Type: String
Update requires: No interruption
Statistic-
The statistic of the metric.
For valid values, see CustomizedMetricSpecification in the Application Auto Scaling API Reference.
Required: Yes
Type: String
Update requires: No interruption
Unit-
The unit of the metric.
Required: No
Type: String
Update requires: No interruption
See Also
-
CustomizedMetricSpecification in the Application Auto Scaling API Reference
-
Amazon CloudWatch Concepts in the Amazon CloudWatch User Guide
