Create IoT Rule

Please open AWS IoT Rules console by clicking on this link or navigating to AWS IoT , Act, Rules and clicking on “Create” button.

1. Provide a rule name
Please input the same IoT Rule name you used in a previous step when creating a new AWS IoT Core for LoRaWAN destination (e.g. “MyWorkshopLoRaWANRule”). Please double-check that the rule is named exactly the same, considering letter case.

AWS Management Console

2. Provide IoT SQL query statement
Please put the following text into the rule query statement : SELECT *, timestamp() as timestamp.

After that please click on “Add action”.

AWS Management Console

3. Select action “Republish to an AWS IoT Topic”

AWS Management Console

4. Configure action “Republish to an AWS IoT Topic”

Please provide dt/workshop_lorawanmessages as a topic name. Please click on “Create role” and select e.g. “IoTRuleRepublishRole” as a role name. Please scroll down and click on “Create action”.

AWS Management Console

5. Create IoT Rule
Please scroll down and click on a button “Create rule”.

AWS Management Console

6. Review Iot Rule
Please review the created IoT Rule:

AWS Management Console