TargetTrackingConfiguration - Amazon EC2 Auto Scaling
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

TargetTrackingConfiguration

Represents a target tracking scaling policy configuration to use with Amazon EC2 Auto Scaling.

Contents

TargetValue

The target value for the metric.

Note

Some metrics are based on a count instead of a percentage, such as the request count for an Application Load Balancer or the number of messages in an SQS queue. If the scaling policy specifies one of these metrics, specify the target utilization as the optimal average request or message count per instance during any one-minute interval.

Type: Double

Required: Yes

CustomizedMetricSpecification

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

Type: CustomizedMetricSpecification object

Required: No

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.

Type: Boolean

Required: No

PredefinedMetricSpecification

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

Type: PredefinedMetricSpecification object

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: