[{"data":1,"prerenderedAt":68},["ShallowReactive",2],{"pattern-sfn-sns-terraform":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":11,"deploy":13,"description":17,"extension":18,"framework":19,"gitHub":20,"highlight":6,"introBox":26,"language":31,"level":32,"meta":33,"patternArch":34,"resources":48,"s3URL":6,"services":6,"stem":63,"testing":64,"videoId":6,"__hash__":67},"patterns\u002Fpatterns\u002Fsfn-sns-terraform.json","AWS Step Functions to Amazon SNS",null,{"text":8},[9,10],"\u003Ccode>terraform destroy\u003C\u002Fcode>","\u003Ccode>terraform show\u003C\u002Fcode>",[12],"content\u002Fcontributors\u002Fmakendran-g.json",{"text":14},[15,16],"terraform init","terraform apply","Create an AWS Step Functions workflow to integrate with Amazon SNS.","json","Terraform",{"template":21},{"repoURL":22,"templateURL":23,"projectFolder":24,"templateFile":25},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fsfn-sns-tf","serverless-patterns\u002Fsfn-sns-tf","sfn-sns-tf","main.tf",{"headline":27,"text":28},"How it works",[29,30],"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.","Integration","100",{},{"icon1":35,"icon2":40,"line1":44},{"x":36,"y":37,"service":38,"label":39},20,50,"sfn","AWS Step Functions",{"x":41,"y":37,"service":42,"label":43},80,"sns","Amazon SNS",{"from":45,"to":46,"label":47},"icon1","icon2","",{"headline":49,"bullets":50},"Additional resources",[51,54,57,60],{"text":52,"link":53},"Call Amazon SNS with Step Functions","https:\u002F\u002Fdocs.aws.amazon.com\u002Fstep-functions\u002Flatest\u002Fdg\u002Fconnect-sns.html",{"text":55,"link":56},"Service Integration Patterns","https:\u002F\u002Fdocs.aws.amazon.com\u002Fstep-functions\u002Flatest\u002Fdg\u002Fconnect-to-resource.html",{"text":58,"link":59},"Synchronous Express Workflows for AWS Step Functions","https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Fcompute\u002Fnew-synchronous-express-workflows-for-aws-step-functions\u002F",{"text":61,"link":62},"Contact form processing with Synchronous Express Workflows","https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fcontact-form-processing-with-synchronous-express-workflows","patterns\u002Fsfn-sns-terraform",{"text":65},[66],"See the GitHub repo for detailed testing instructions.","Ewk67XsI-Zz3l4afYX05Hwab_RhJchZgI5agSbBeBPI",1778846887978]