The following JavaScript sample project shows simple interactions with the thing shadow API. For additional examples see the AWS IoT Device SDK GitHub repository.
Caution: Make sure not to commit any AWS IoT certificates.
Create the things in the AWS IoT Dashboard and configure them in the configuration/raspberrypi.json
configuration file if you wish to run this sample.
The example can be executed by issuing:
npm install
npm start