Application Auto Scaling ScalingPolicy TargetTrackingScalingPolicyConfiguration
Use the TargetTrackingScalingPolicyConfiguration property to configure a
target tracking scaling policy to use with Application Auto Scaling. Use it to adjust
upward or downward in
response to actual workloads, so that resource utilization remains at or near the
target
utilization value. TargetTrackingScalingPolicyConfiguration is a property of
the AWS::ApplicationAutoScaling::ScalingPolicy resource. For more
information, see PutScalingPolicy in the Application 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, "ScaleInCooldown" :Integer, "ScaleOutCooldown" :Integer, "TargetValue" :Double}
YAML
CustomizedMetricSpecification:CustomizedMetricSpecificationPredefinedMetricSpecification:PredefinedMetricSpecificationDisableScaleIn:BooleanScaleInCooldown:IntegerScaleOutCooldown:IntegerTargetValue:Double
Properties
For more information about each property, including constraints and valid values, see TargetTrackingScalingPolicyConfiguration in the Application Auto Scaling API Reference.
CustomizedMetricSpecification-
This property is reserved for future use.
Required: No
Type: Application Auto Scaling ScalingPolicy CustomizedMetricSpecification
Update requires: No interruption
DisableScaleIn-
Indicates whether scale in by the target tracking policy is disabled. If the value is
true, scale in is disabled and the target tracking policy won't remove capacity from the scalable resource. Otherwise, scale in is enabled and the target tracking policy can remove capacity from the scalable resource. The default value isfalse.Required: No
Type: Boolean
Update requires: No interruption
PredefinedMetricSpecification-
A predefined metric.
Required: No
Type: Application Auto Scaling ScalingPolicy PredefinedMetricSpecification
Update requires: No interruption
ScaleInCooldown-
The amount of time, in seconds, after a scale in activity completes before another scale in activity can start.
Required: No
Type: Integer
Update requires: No interruption
ScaleOutCooldown-
The amount of time, in seconds, after a scale out activity completes before another scale out activity can start.
Required: No
Type: Integer
Update requires: No interruption
TargetValue-
The target value for the metric.
Required: Yes
Type: Double
Update requires: No interruption
