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