CmdID / aws / aws lambda
aws lambda put-provisioned-concurrency-config
Adds a provisioned concurrency configuration to a function's alias or version. AWS CLI reference
1 example 3 options Its page in the AWS CLI reference
Examples
To allocate provisioned concurrency
The following put-provisioned-concurrency-config example allocates 100 provisioned concurrency for the BLUE alias of the specified function.
aws lambda put-provisioned-concurrency-config --function-name my-function --qualifier BLUE --provisioned-concurrent-executions 100Identify--function-nameThe name or ARN of the Lambda function.--qualifierThe version number or alias name.--provisioned-concurrent-executionsThe amount of provisioned concurrency to allocate for the version or alias.Its output
{
"RequestedProvisionedConcurrentExecutions": 100,
"AllocatedProvisionedConcurrentExecutions": 0,
"Status": "IN_PROGRESS",
"LastModified": "2019-11-21T19:32:12+0000"
}For more information, see Configuring provisioned concurrency for an Event Function in the AWS Lambda Developer Guide.
Options
--function-nameThe name or ARN of the Lambda function.--provisioned-concurrent-executionsThe amount of provisioned concurrency to allocate for the version or alias.--qualifierThe version number or alias name.