Example local Lambda functions that can be used with AWS Greengrass and the AWS Greengrass Provisioner.
Example local Lambda functions that can be used with AWS Greengrass and the AWS Greengrass Provisioner. This repo contains the functions and the deployment configurations to launch those functions in different configurations.
2020-01-27 - Minor changes to the role naming scheme may cause issues with existing deployments. If you are experiencing issues with permissions you can either switch to the new naming scheme (e.g. Greengrass_CoreRole
, Greengrass_ServiceRole
, and Greengrass_LambdaRole
) or you can update the deployments.defaults.conf file to use the older names.
Step 1: Clone this repo
Step 2: Read the provisioner command-line examples
Check out the Cloud Device Driver framework. It is a framework that simplifies writing Greengrass Lambda functions in Java. You can look at the code as well.
Python
NodeJS
Java with Cloud Device Driver framework
C
Greengrass Provisioner functionality examples
~
wildcardThis sample code is made available under a modified MIT license. See the LICENSE file.