View a markdown version of this page

TargetTrackingScalingPolicy - AWS Lambda

TargetTrackingScalingPolicy

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

Contents

PredefinedMetricType

The predefined metric type to track for scaling decisions. Use LambdaCapacityProviderAverageCPUUtilization to scale on the average CPU utilization of compute instances, or LambdaCapacityProviderAverageGPUUtilization to scale on the average GPU utilization of GPU instances.

Type: String

Valid Values: LambdaCapacityProviderAverageCPUUtilization | LambdaCapacityProviderAverageGPUUtilization

Required: Yes

TargetValue

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

Type: Double

Valid Range: Minimum value of 0.0. Maximum value of 100.0.

Required: Yes

See Also

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