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

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

Syntax

To declare this entity in your 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