AWS Greengrass
Developer Guide

Modify the Policy for GGC_Thing, Switch_Thing, and RobotArm_Thing

Each device certificate has an AWS IoT policy attached to it. The policy determines what those devices can do online. Update the policies for the AWS IoT things so they can automatically sync their shadow status online and use discovery functionality. Use the AWS IoT console to update the policies for the certificates attached to GGC_Thing, Switch_Thing, and RobotArm_Thing to look like this:

{ "Version": "2012-10-17", "Statement": [ { "Action": [ "iot:*", "greengrass:*" ], "Effect": "Allow", "Resource": [ "*" ] } ] }

This allows AWS Greengrass to update the local shadow status with the cloud and AWS IoT devices to use discovery functionality.