AWS Lambda · Arazzo Workflow
AWS Lambda Shift Canary Traffic Across Two Versions
Version 1.0.0
Read an alias, split its invocations between the current version and a canary version by weight, and read the routing back to confirm it took.
Provider
Workflows
canary-traffic-shift
Re-weight an existing alias between its primary version and a canary version.
Resolves the alias, updates its primary version and additional version weights under a RevisionId guard, and verifies the stored routing configuration.
1
resolveAlias
getAlias
Read the alias to capture the version it currently points at and its RevisionId, which guards the update against a concurrent release.
2
applyWeights
updateAlias
Set the primary version and the weighted split in a single update. AdditionalVersionWeights is replaced wholesale, so an empty map removes the canary and returns every invocation to the primary version.
3
verifyRouting
getAlias
Read the alias back so the routing configuration Lambda stored is observed directly, confirming the canary is carrying the intended share before the rollout proceeds.