AWS Lambda Function Provisioned Concurrency
Configuring provisioned concurrency for a Lambda function
AWS Lambda's Provisioned Concurrency allows you to pre-initialize a specified number of execution environments for your function, ensuring they are ready to respond to requests with minimal latency. These execution environments are ready to respond immediately to incoming function requests. Provisioned concurrency is useful for reducing cold start latencies for functions. Configuring provisioned concurrency incurs additional charges to your AWS account.
Set Up Provisioned Concurrency for Respective Lambda Function:
Setup provisioned concurrency in a new Lambda version.
Reference: Configure Version Documentation, Provisioned Concurrency Documentation
Update the SCCAC - Amazon Connect contact flows to reference the new version of the respective function
Example: In SCCAC-Sample Inbound Flow-<contactCenterId>, locate the Execute routing function block, update the ARN, then save and publish the contact flow.
Upgrade Process
- When a new version of the assets is released, customers should upgrade to the latest asset version, which will update the respective Lambda function.
- After upgrade, repeat the steps above to create a new Lambda version with provisioned concurrency and update the contact flow accordingly.