TargetTrackingConfiguration
¶
Used by
-
AsyncAutoScalingClient Operationsput_scaling_policy -
AutoScalingClient Operationsput_scaling_policy
Source code in docs_src/capo_auto_scaling/types/target_tracking_configuration.py
customized_metric_specification
instance-attribute
¶
customized_metric_specification: NotRequired[CustomizedMetricSpecification]
A customized metric. You must specify either a predefined metric or a customized metric.
disable_scale_in
instance-attribute
¶
disable_scale_in: NotRequired[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.
predefined_metric_specification
instance-attribute
¶
predefined_metric_specification: NotRequired[PredefinedMetricSpecification]
A predefined metric. You must specify either a predefined metric or a customized metric.
target_value
instance-attribute
¶
target_value: NotRequired[MetricScale]
The target value for the metric.
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.