AWS::Lambda::CapacityProvider TargetTrackingScalingPolicy - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon 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 Amazon 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