AWS Lambda · Arazzo Workflow
AWS Lambda Wire an Event Source to a Function
Version 1.0.0
Confirm the target function exists, create an event source mapping onto a queue or stream, and poll until Lambda actually starts polling it.
Provider
Workflows
event-source-mapping-onboard
Create an event source mapping and wait for it to reach the Enabled state.
Confirms the target function, maps an event source ARN onto it with batch size and retry behaviour set explicitly, and blocks until Lambda reports the mapping is live.
1
confirmFunction
Confirm the consuming function exists and capture its ARN before any mapping is created, so a bad function name fails here rather than leaving a mapping pointed at nothing.
2
createTheMapping
Map the event source onto the function. Enabled is true so Lambda begins polling as soon as the mapping is ready, and failure handling is set here rather than left to defaults so a poison record cannot stall the source indefinitely.
3
waitUntilEnabled
Poll the mapping until Lambda reports State "Enabled". The create call returns while the state is still "Creating", and no records are read from the event source until the mapping is enabled.
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.