Invoke AWS Step Functions state machine from Amazon SQS messages using Amazon EventBridge Pipes

Amazon SQS → Amazon EventBridge Pipes → AWS Step Functions

This pattern shows how to use Amazon EventBridge Pipes to launch an AWS Step Functions state machine with a message coming from an Amazon SQS Queue.

Amazon EventBridge Pipes connects sources to targets. This Terraform stack creates an EventBridge Pipe which polls for messages from a source SQS queue and sends the messages to the target AWS Step Functions state machine.

< Back to all patterns

GitHub icon Download this pattern (.zip)

GitHub icon View this pattern on GitHub


Clone repo

git clone https://github.com/aws-samples/serverless-patterns/cd eventbridge-pipes-sqs-to-stepfunctions-terraform

Deploy

terraform apply


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

Delete the stack: terraform destroy.

Created by:

Farrukh Jamal

Farrukh Jamal

Farrukh is a Cloud Support Engineer at AWS based in the Australia.

Follow on LinkedIn