AWS::Lambda::CapacityProvider TargetTrackingScalingPolicy - AWS CloudFormation
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

AWS::Lambda::CapacityProvider TargetTrackingScalingPolicy

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

Syntax

To declare this entity in your CloudFormation template, use the following syntax:

JSON

{ "PredefinedMetricType" : String, "TargetValue" : Number }

YAML

PredefinedMetricType: String TargetValue: Number

Properties

PredefinedMetricType

The predefined metric type to track for scaling decisions.

Required: Yes

Type: String

Allowed values: LambdaCapacityProviderAverageCPUUtilization

Update requires: No interruption

TargetValue

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

Required: Yes

Type: Number

Minimum: 0

Update requires: No interruption