AWS Lambda · Arazzo Workflow
AWS Lambda Publish a Layer Version and Attach It to a Function
Version 1.0.0
Publish a shared dependency layer from S3, verify the version, attach it to a function, and wait for the configuration update to settle.
Provider
Workflows
publish-layer-and-attach
Publish a new layer version and wire it into a function's configuration.
Creates a new immutable version of a layer from an S3 archive, verifies it, then updates the function to reference that exact layer version ARN and waits for the update to complete.
1
publishTheLayerVersion
Publish a new immutable version of the layer from the staged S3 archive. The version number increments on every call; existing versions are never overwritten, so functions pinned to an older version are unaffected.
2
verifyLayerVersion
Read the published version back to confirm the archive landed and to see the runtime compatibility Lambda recorded, before any function is pointed at it.
3
attachLayerToFunction
Update the function to reference the new layer version ARN. The Layers list is replaced wholesale rather than appended to, so the caller supplies the full intended set through this single new ARN.
4
waitForConfigUpdate
Poll until LastUpdateStatus reports "Successful". Until then the function is still being provisioned with the new layer and invocations continue to use the previous configuration.
Source API Descriptions
openapi
Arazzo Workflow Specification
Work with this as data
Every workflow here is available over the APIs.io API and to AI agents over MCP.