Add a destination for your Sidewalk end device - Amazon IoT Core
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Add a destination for your Sidewalk end device

Use Amazon 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 Amazon Web Services.

How to create and use a destination

  1. Create an Amazon IoT rule and an IAM role for the destination. The Amazon IoT rule specifies the rules that will process the device's data and routes it for use by other Amazon Web 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 Amazon IoT Core for Amazon Sidewalk.

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