green-world
v1.1.7
Published
A sample Greengrass application responding with a `world` message to a `hello` lambda.
Downloads
8
Readme
green-world
A sample Greengrass application responding with a
world
message to ahello
lambda.
Current version: 1.1.7
Lead Maintainer: Halim Qarroum
Table of contents
Install
green add npm://green-world
Description
This application is a sample lambda function for AWS Greengrass used to demonstrate how to deploy Green Applications and their associated dependencies using the green-cli
package manager.
It is an on-demand
lambda function, meaning that it only runs when it receives a message from another comnponent in the system. Upon reception of a message, green-world
will send a message on the green/world
topic using the following payload.
{ "message": "world", "by": "${received-payload}.from" }
Deployment
The green-world
sample application has no dependencies and creates a uni-directional subscription between itself and the IoT Core message broker on the cloud on the green/world
topic. Use the green-cli command-line deployment tool to deploy green-world
as stated in the Installation section.
See also
- The green-cli command-line deployment tool.
- The green-hello application.
- The green-sdk software development kit for green applications.
- The green-template sample deployment template.