Amazon EC2 Auto Scaling ScalingPolicy TargetTrackingConfiguration
The TargetTrackingConfiguration property configures a target tracking scaling
policy to use with Amazon EC2 Auto Scaling. TargetTrackingConfiguration is a property of the
AWS::AutoScaling::ScalingPolicy
resource. For more information, see PutScalingPolicy in the Amazon EC2 Auto Scaling API Reference.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "CustomizedMetricSpecification" : CustomizedMetricSpecification, "DisableScaleIn" :Boolean, "PredefinedMetricSpecification" : PredefinedMetricSpecification, "TargetValue" :Double}
YAML
CustomizedMetricSpecification: CustomizedMetricSpecification DisableScaleIn:BooleanPredefinedMetricSpecification: PredefinedMetricSpecification TargetValue:Double
Properties
For more information about each property, including constraints and valid values, see TargetTrackingConfiguration in the Amazon EC2 Auto Scaling API Reference.
CustomizedMetricSpecification-
A customized metric.
Required: No
Type: Amazon EC2 Auto Scaling ScalingPolicy CustomizedMetricSpecification
Update requires: No interruption
DisableScaleIn-
Indicates whether to disable scale-in for the target tracking policy. If
true, the target tracking policy will not scale in the Auto Scaling group. The default value isfalse.Required: No
Type: Boolean
Update requires: No interruption
PredefinedMetricSpecification-
A predefined metric.
Required: No
Type: Amazon EC2 Auto Scaling ScalingPolicy PredefinedMetricSpecification
Update requires: No interruption
TargetValue-
The target value for the metric.
Required: Yes
Type: Double
Update requires: No interruption
