AWS Step Functions to Amazon SNS

AWS Step Functions → Amazon SNS

Create an AWS Step Functions workflow to integrate with Amazon SNS.

The template deploys a Step Functions workflow, an SNS topic and the IAM permissions required to run the application. Step Functions publishes a message to the SNS topic when invoked. The AWS SAM template deploys the resources and the IAM permissions required to run the application.
Start the Workflow using the `start-execution` api command with a `InputAndMessage` string in the input payload. The Workflow will send the message to the SNS topic.

< 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 serverless-patterns/sfn-sns-tf

Deploy

terraform initterraform apply


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

terraform destroy
terraform show

Created by:

Makendran G

Makendran G

Cloud Support Engineer @ AWS

Follow on LinkedIn