Amazon Lambda · Arazzo Workflow
Amazon Lambda Deploy Function With Event Source
Version 1.0.0
Create a function, wait until Active, attach an event source mapping, and wait until Enabled.
Provider
Workflows
deploy-with-event-source
Create a function, wait for Active, then attach and enable an event source mapping.
Creates a function and polls GetFunction until Active, then creates an event source mapping against that function and polls GetEventSourceMapping until the mapping is Enabled.
1
createFunction
Create the Lambda function. It is typically returned in the Pending state.
2
waitForActive
Poll the function until Lambda reports it Active. A Failed state branches to the failure handler.
3
createMapping
Create an event source mapping that wires the supplied event source to the now-Active function.
4
waitForEnabled
Poll the mapping by UUID until it finishes provisioning and reports the Enabled state.
5
reportFailure
Re-read the function when it has entered the Failed state so the caller can surface the terminal state before any mapping is created.
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.