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, ... ]}
YAML
MaxVCpuCount:IntegerScalingMode:StringScalingPolicies:- TargetTrackingScalingPolicy
Properties
MaxVCpuCount-
The maximum number of vCPUs that the capacity provider can provision across all compute instances.
Required: No
Type: Integer
Minimum:
2Maximum:
15000Update 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 | ManualUpdate requires: No interruption
ScalingPolicies-
A list of target tracking scaling policies for the capacity provider.
Required: No
Type: Array of TargetTrackingScalingPolicy
Minimum:
1Maximum:
10Update requires: No interruption