[{"data":1,"prerenderedAt":64},["ShallowReactive",2],{"pattern-iot-sns-sqs-sam":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":10,"deploy":12,"description":15,"extension":16,"framework":17,"gitHub":18,"highlight":6,"introBox":24,"language":29,"level":30,"meta":31,"patternArch":32,"resources":51,"s3URL":6,"services":6,"stem":59,"testing":60,"videoId":6,"__hash__":63},"patterns\u002Fpatterns\u002Fiot-sns-sqs-sam.json","Amazon IoT Core to Amazon SNS to Amazon SQS",null,{"text":8},[9],"Delete the stack: \u003Ccode>sam delete\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Fmakendran-g.json",{"text":13},[14],"sam deploy --guided --capabilities CAPABILITY_NAMED_IAM","Create an IoT rule with an SNS action that delivers messages to an SQS queue.","json","AWS SAM",{"template":19},{"repoURL":20,"templateURL":21,"projectFolder":22,"templateFile":23},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fiot-sns-sqs-sam","serverless-patterns\u002Fiot-sns-sqs-sam","iot-sns-sqs-sam","template.yaml",{"headline":25,"text":26},"How it works",[27,28],"This pattern contains a sample AWS SAM stack to create an IoT rule with an SNS action, an SNS topic and an SQS standard queue subscribed to the SNS topic.","When a message is published to the IoT topic defined in the IoT rule, this message will be published to the SNS topic and then the message will be delivered to the SQS queue subscribed to the SNS topic.","Integration","200",{},{"icon1":33,"icon2":38,"icon3":41,"line1":45,"line2":49},{"x":34,"y":35,"service":36,"label":37},20,50,"iot","AWS IoT",{"x":35,"y":35,"service":39,"label":40},"sns","Amazon SNS",{"x":42,"y":35,"service":43,"label":44},80,"sqs","Amazon SQS",{"from":46,"to":47,"label":48},"icon1","icon2","",{"from":47,"to":50,"label":48},"icon3",{"bullets":52},[53,56],{"text":54,"link":55},"IoT rule Amazon SNS action","https:\u002F\u002Fdocs.aws.amazon.com\u002Fiot\u002Flatest\u002Fdeveloperguide\u002Fsns-rule-action.html",{"text":57,"link":58},"Subscribing an Amazon SQS queue to an Amazon SNS topic","https:\u002F\u002Fdocs.aws.amazon.com\u002FAWSSimpleQueueService\u002Flatest\u002FSQSDeveloperGuide\u002Fsqs-configure-subscribe-queue-sns-topic.html","patterns\u002Fiot-sns-sqs-sam",{"text":61},[62],"See the GitHub repo for detailed testing instructions.","fWqoDf9GD6m954c8x02gXT9PjYxgSRJilW6Ivb9xX8Y",1778846885658]