AWS IoT to Amazon SNS to Amazon SQS

AWS IoT → Amazon SNS → Amazon SQS

Create an IoT rule with a SNS action that delivers messages to a SQS queue.

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.

< 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/iot-sns-sqs-terraform

Deploy

terraform initterraform apply


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

terraform destroy

Created by:

Makendran G

Makendran G

Cloud Support Engineer @ AWS

Follow on LinkedIn