AWS::Lambda::CapacityProvider TargetTrackingScalingPolicy - AWS CloudFormation

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