AWS Lambda · Arazzo Workflow
AWS Lambda Warm a Release with Provisioned Concurrency
Version 1.0.0
Publish a version, point an alias at it, allocate provisioned concurrency to that alias, and wait until the environments are actually READY.
Provider
Workflows
provisioned-concurrency-warmup
Publish a version, alias it, and allocate provisioned concurrency until it reports READY.
Cuts a version, creates the alias that carries provisioned capacity, requests the allocation, and blocks until the pre-initialized environments are available.
1
publishTheVersion
publishVersion
Cut an immutable version. Provisioned concurrency cannot target $LATEST, so a published version is a precondition rather than an optimization.
2
aliasTheVersion
createAlias
Create the alias that carries the warm capacity. Allocating against an alias rather than a bare version number means the next release can move the alias without clients having to learn a new qualifier.
3
allocateWarmCapacity
putProvisionedConcurrencyConfig
Request provisioned concurrency against the alias. The call returns as soon as the request is accepted; the environments are not yet warm at this point.
4
waitUntilReady
getProvisionedConcurrencyConfig
Poll until Status reports "READY". While it reads "IN_PROGRESS" Lambda is still initializing environments and invocations continue to cold start; StatusReason carries the explanation when allocation fails, typically an account concurrency limit.