Skip to content

Lambda  >  Structures  >  TargetTrackingScalingPolicy

TargetTrackingScalingPolicy

Structure Class

TargetTrackingScalingPolicy dataclass

A scaling policy for the capacity provider that automatically adjusts capacity to maintain a target value for a specific metric.

Attributes

predefined_metric_type instance-attribute
predefined_metric_type: CapacityProviderPredefinedMetricType

The predefined metric type to track for scaling decisions.

target_value instance-attribute
target_value: float

The target value for the metric that the scaling policy attempts to maintain through scaling actions.