AWS Lambda · Arazzo Workflow
AWS Lambda Release a Version Behind an Alias
Version 1.0.0
Publish a version, then either move an existing alias onto it or create the alias if this is the first release.
Provider
Workflows
alias-release
Publish a version and point a named alias at it, creating the alias when absent.
Cuts an immutable version from the current code, resolves the target alias, and either updates it onto the new version or creates it.
1
publishTheVersion
publishVersion
Cut an immutable version from the function's current code and configuration. Lambda declines to publish a new version if neither the code nor the configuration has changed since the last one.
2
resolveAlias
getAlias
Probe for the alias to decide whether this is a move or a first release. A 200 means an incumbent version exists and its RevisionId can be used as a concurrency guard; a 404 means the alias has never existed.
3
moveAliasToNewVersion
updateAlias
Point the existing alias at the newly published version. RevisionId is passed as a guard so Lambda rejects the update if another release moved the alias after it was read.
4
createAliasOutright
createAlias
Create the alias pointing at the new version. This is the first release for this alias, so there is no incumbent version and no RevisionId to guard against.