AWS Step Functions to Amazon SNS

Step Functions → 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.

< Back to all patterns

GitHub icon Download this pattern (.zip)

GitHub icon View this pattern on GitHub


Launch Stack

Clone repo

git clone https://github.com/aws-samples/serverless-patterns/cd serverless-patterns/sfn-sns

Deploy

sam deploy --guided


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

1. Delete the stack: sam delete --stack-name STACK_NAME.
2. Confirm the stack has been deleted: aws cloudformation list-stacks --query "StackSummaries[?contains(StackName,'STACK_NAME')].StackStatus"

Created by:

Jenny Chau

Jenny Chau

Senior Cloud Architect @ AWS.