green-complex v1.1.3
green-complex
A complex sample of a green application having multiple dependencies.
Current version: 1.1.4
Lead Maintainer: Halim Qarroum
Table of contents
Install
green add npm://green-complex
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 long-running
lambda function which emits a foo
message to the green/hello
topic every n
seconds where n is a timeout value passed to the application through the interval
environment variable.
This application also demonstrates through its green-app.json description file, how to request the creation of a local volume mount on /tmp
with read-only access.
Deployment
The green-complex
sample application has a dependency on green-hello and green-world and creates a uni-directional subscription between itself and the green-hello
lambda.
See also
- The green-cli command-line deployment tool.
- The green-hello application.
- The green-world application.
- The green-sdk software development kit for green applications.
- The green-template sample deployment template.