All Templates|📨 Event-Driven Pipelinepro~$2–20/mo
📨

Event-Driven Pipeline

SNS fan-out → SQS queues → Lambda processors → DynamoDB.

What you can build with this

Decouple parts of your application so they can scale and fail independently. Your application publishes events (order placed, user signed up, file uploaded) to SNS. Multiple SQS queues receive a copy and Lambda processes each queue independently. Results land in DynamoDB. Failed messages go to a dead-letter queue for inspection.

Deployment timing

After you run the deploy command, resources come online at different times. Check the validation steps in order.

ResourceReady in
SNS TopicReady at stack completion
SQS QueuesReady at stack completion
SNS → SQS deliveryNear real-time (under 1 second typically)
SQS → Lambda triggerUnder 1 second from message arrival
Lambda cold start (first call)200ms–2s — subsequent calls are faster
DynamoDB writeMilliseconds from Lambda execution

CloudFormation parameters

These are the values you will fill in when deploying the exported template. Changing these does not break the template — that is the point.

ParameterWhat to provideExample
TopicNameSNS topic name — your app publishes events hereapp-events
QueueNamePrimary SQS processor queue nameevent-processor
TableNameDynamoDB table for processed resultsprocessed-events
LambdaS3BucketS3 bucket with your processor zipmy-artifacts