AWS::ApplicationAutoScaling::ScalingPolicy TargetTrackingMetric - AWS CloudFormation

AWS::ApplicationAutoScaling::ScalingPolicy TargetTrackingMetric

Represents a specific metric for a target tracking scaling policy for Application Auto Scaling.

Metric is a property of the AWS::ApplicationAutoScaling::ScalingPolicy TargetTrackingMetricStat property type.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "Dimensions" : [ TargetTrackingMetricDimension, ... ], "MetricName" : String, "Namespace" : String }

Properties

Dimensions

The dimensions for the metric. For the list of available dimensions, see the AWS documentation available from the table in AWS services that publish CloudWatch metrics in the Amazon CloudWatch User Guide.

Conditional: If you published your metric with dimensions, you must specify the same dimensions in your scaling policy.

Required: No

Type: Array of TargetTrackingMetricDimension

Update requires: No interruption

MetricName

The name of the metric.

Required: No

Type: String

Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

Minimum: 1

Maximum: 255

Update requires: No interruption

Namespace

The namespace of the metric. For more information, see the table in AWS services that publish CloudWatch metrics in the Amazon CloudWatch User Guide.

Required: No

Type: String

Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

Minimum: 1

Maximum: 255

Update requires: No interruption