AWS::Lambda::CapacityProvider CapacityProviderScalingConfig - 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 CapacityProviderScalingConfig

Configuration that defines how the capacity provider scales compute instances based on demand and policies.

Syntax

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

JSON

{ "MaxVCpuCount" : Integer, "ScalingMode" : String, "ScalingPolicies" : [ TargetTrackingScalingPolicy, ... ] }

Properties

MaxVCpuCount

The maximum number of vCPUs that the capacity provider can provision across all compute instances.

Required: No

Type: Integer

Minimum: 2

Maximum: 15000

Update requires: No interruption

ScalingMode

The scaling mode that determines how the capacity provider responds to changes in demand.

Required: No

Type: String

Allowed values: Auto | Manual

Update requires: No interruption

ScalingPolicies

A list of target tracking scaling policies for the capacity provider.

Required: No

Type: Array of TargetTrackingScalingPolicy

Minimum: 1

Maximum: 10

Update requires: No interruption