AWS Lambda · Arazzo Workflow
AWS Lambda Cap a Function with Reserved Concurrency
Version 1.0.0
Read a function's current concurrency reservation, set a ceiling on its simultaneous executions, and confirm the value Lambda stored.
Provider
Workflows
reserved-concurrency-guardrail
Set and verify the maximum simultaneous executions reserved for a function.
Captures the prior reservation so the change is auditable and reversible, applies the new limit, and verifies the stored value.
1
readCurrentReservation
getReservedConcurrency
Read the existing reservation before changing it, so the prior value is captured for audit and rollback. A function with no reservation returns no ReservedConcurrentExecutions value and draws from the shared account pool.
2
applyReservation
putFunctionConcurrency
Set the ceiling. This carves the reserved amount out of the account's regional concurrency pool, so the capacity is no longer available to any other function in the account.
3
verifyReservation
getReservedConcurrency
Read the reservation back to confirm the ceiling Lambda actually stored matches what was requested.