aws-lambda: Simplify Lambda provisioned concurrency autoscaling #6400
Labels
@aws-cdk/aws-lambda
Related to AWS Lambda
effort/large
Large work item – several weeks of effort
feature-request
A feature should be added or improved.
Provisioned concurrency for Lambda function is a huge announcement last year in re:Invent and the Lambda developer guide has a chapter talking about how to configure provisioned concurrency auto scaling with target tracking with AWS CLI like this:
In the latest aws-cdk v1.25.0 we start supporting aws-applicationautoscaling with Lambda(PR) and I have yet another PR(#6394 ) to make it complete. We should be able to build the provisioned concurrency autoscaling like this
To make it even simplied, as the provisioned concurrency can be configured over any lambda function version or alias, we probably can extend the lambda.Version class by adding a
scaleOnProvisionedConcurrency
function like thisAnd in this case, all lambda function alias can have autoscaling capabilities. Sample code here
Any thoughts?
Use Case
To make any AWS Lambda function version or alias very easy to enable its provisioned concurrency auto scaling capabilities.
Proposed Solution
described above
Other
This is a 🚀 Feature Request
The text was updated successfully, but these errors were encountered: