Add a destination for your Sidewalk end device - AWS IoT Wireless

Add a destination for your Sidewalk end device

Use AWS IoT rules to process the data and device messages and route it to other services. You can also define rules to process the binary messages received from a device and convert the messages to other formats that make other services easy to use them. Destinations associate your Sidewalk end device with the rule that processes the device data to send to other AWS services.

How to create and use a destination

  1. Create an AWS IoT rule and an IAM role for the destination. The AWS IoT rule specifies the rules that will process the device's data and routes it for use by other AWS services and your applications. The IAM role grants permission to access the rule.

  2. Create a destination for your Sidewalk devices using the CreateDestination API operation. Specify the destination name, rule name, role name, and any optional parameters. The API will return a unique identifier for the destination, which you can specify when adding your end device to AWS IoT Core for Amazon Sidewalk.

The following shows how to create a destination, and an AWS IoT rule and IAM role for the destination.