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.
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”.
3. Select action “Republish to an AWS IoT Topic”
4. Configure action “Republish to an AWS IoT Topic”
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”.
5. Create IoT Rule
Please scroll down and click on a button “Create rule”.
6. Review Iot Rule
Please review the created IoT Rule: