AWS::AutoScalingPlans::ScalingPlan TargetTrackingConfiguration
TargetTrackingConfiguration
is a subproperty of ScalingInstruction that specifies a target tracking configuration for a scalable resource.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "CustomizedScalingMetricSpecification" :
CustomizedScalingMetricSpecification
, "DisableScaleIn" :Boolean
, "EstimatedInstanceWarmup" :Integer
, "PredefinedScalingMetricSpecification" :PredefinedScalingMetricSpecification
, "ScaleInCooldown" :Integer
, "ScaleOutCooldown" :Integer
, "TargetValue" :Number
}
YAML
CustomizedScalingMetricSpecification:
CustomizedScalingMetricSpecification
DisableScaleIn:Boolean
EstimatedInstanceWarmup:Integer
PredefinedScalingMetricSpecification:PredefinedScalingMetricSpecification
ScaleInCooldown:Integer
ScaleOutCooldown:Integer
TargetValue:Number
Properties
CustomizedScalingMetricSpecification
-
A customized metric. You can specify either a predefined metric or a customized metric.
Required: No
Type: CustomizedScalingMetricSpecification
Update requires: No interruption
DisableScaleIn
-
Indicates whether scale in by the target tracking scaling policy is disabled. If the value is
true
, scale in is disabled and the target tracking scaling policy doesn't remove capacity from the scalable resource. Otherwise, scale in is enabled and the target tracking scaling policy can remove capacity from the scalable resource.The default value is
false
.Required: No
Type: Boolean
Update requires: No interruption
EstimatedInstanceWarmup
-
The estimated time, in seconds, until a newly launched instance can contribute to the CloudWatch metrics. This value is used only if the resource is an Auto Scaling group.
Required: No
Type: Integer
Update requires: No interruption
PredefinedScalingMetricSpecification
-
A predefined metric. You can specify either a predefined metric or a customized metric.
Required: No
Type: PredefinedScalingMetricSpecification
Update requires: No interruption
ScaleInCooldown
-
The amount of time, in seconds, after a scale-in activity completes before another scale in activity can start. This value is not used if the scalable resource is an Auto Scaling group.
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. This value is not used if the scalable resource is an Auto Scaling group.
Required: No
Type: Integer
Update requires: No interruption
TargetValue
-
The target value for the metric. Although this property accepts numbers of type Double, it won't accept values that are either too small or too large. Values must be in the range of -2^360 to 2^360.
Required: Yes
Type: Number
Update requires: No interruption