AWS IoT Greengrass
Developer Guide

Download Required Files

  1. If you haven’t already done so, install the AWS IoT Device SDK for Python. For instructions, see step 1 in Install the AWS IoT Device SDK for Python.

    This SDK is used by AWS IoT devices to communicate with AWS IoT and with AWS IoT Greengrass core devices.

  2. From the AWS IoT Greengrass samples repository on GitHub, download the lightController.py and trafficLight.py files to your computer. Save them in the folder that contains the GG_Switch and GG_TrafficLight device certificates and keys.

    The lightController.py script corresponds to the GG_Switch device, and the trafficLight.py script corresponds to the GG_TrafficLight device.

    
                            Screenshot of files including the two Python scripts and the
                                device certificates and keys.