Module 6: Accessing other Amazon services - Amazon IoT Greengrass
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).

Amazon IoT Greengrass Version 1 entered the extended life phase on June 30, 2023. For more information, see the Amazon IoT Greengrass V1 maintenance policy. After this date, Amazon IoT Greengrass V1 won't release updates that provide features, enhancements, bug fixes, or security patches. Devices that run on Amazon IoT Greengrass V1 won't be disrupted and will continue to operate and to connect to the cloud. We strongly recommend that you migrate to Amazon IoT Greengrass Version 2, which adds significant new features and support for additional platforms.

Module 6: Accessing other Amazon services

This advanced module shows you how Amazon IoT Greengrass cores can interact with other Amazon services in the cloud. It builds on the traffic light example from Module 5 and adds a Lambda function that processes shadow states and uploads a summary to an Amazon DynamoDB table.

Amazon IoT connected to an Amazon IoT Greengrass core, which is connected to a light switch device and a traffic light device shadow. The traffic light device shadow is connected to a Lambda function, which is connected to a DynamoDB table.

Before you begin, run the Greengrass device setup script, or make sure that you have completed Module 1 and Module 2. You should also complete Module 5. You do not need other components or devices.

This module should take about 30 minutes to complete.

Note

This module creates and updates a table in DynamoDB. Although most of the operations are small and fall within the Amazon Web Services Free Tier, performing some of the steps in this module might result in charges to your account. For information about pricing, see DynamoDB pricing documentation.