AWS CloudFormation
User Guide (Version )

AWS::AutoScaling::ScalingPolicy TargetTrackingConfiguration

TargetTrackingConfiguration is a subproperty of ScalingPolicy that specifies a target tracking scaling policy to use with Amazon EC2 Auto Scaling.

For more information, see PutScalingPolicy in the Amazon EC2 Auto Scaling API Reference. For more information about scaling policies, see Dynamic Scaling in the Amazon EC2 Auto Scaling User Guide.

Syntax

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

Properties

CustomizedMetricSpecification

A customized metric. You must specify either a predefined metric or a customized metric.

Required: Conditional

Type: CustomizedMetricSpecification

Update requires: No interruption

DisableScaleIn

Indicates whether scaling in by the target tracking scaling policy is disabled. If scaling in is disabled, the target tracking scaling policy doesn't remove instances from the Auto Scaling group. Otherwise, the target tracking scaling policy can remove instances from the Auto Scaling group. The default is false.

Required: No

Type: Boolean

Update requires: No interruption

PredefinedMetricSpecification

A predefined metric. You must specify either a predefined metric or a customized metric.

Required: Conditional

Type: PredefinedMetricSpecification

Update requires: No interruption

TargetValue

The target value for the metric.

Required: Yes

Type: Double

Update requires: No interruption

On this page: