-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
69 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# example-lambda-nodejs | ||
Lambda functions for Greengrass running on an AWS greengrass device accessing external hardware | ||
|
||
This project contains a Lambda posting a text msg to the Topic ***hello/world*** to **IoT Cloud** once every 5 seconds. | ||
|
||
## Prerequisites | ||
|
||
### Greengrass SDK | ||
Observer that you MUST copy the greengrasssdk folder from the [Javascript SDK](https://github.com/aws/aws-greengrass-core-sdk-js/) to this folder before you can create a deployment package ! | ||
|
||
### Resources | ||
No resources needs to be created for this project | ||
|
||
### Subscriptions | ||
You MUST add a subscription for ***hello/world*** with this Lambda as **Source** & IoT Cloud as **Target** | ||
|
||
## Usage | ||
Run the **zip-ggs-module.bat** to create a zip file that can be uploaded to the Lambda function | ||
|
||
OBS. | ||
When the Lambda has been uploaded you MUST do the following 2 steps before you can deploy theLambda to a Greengrass device | ||
1. Create a version | ||
2. Create an Alias | ||
|
||
The alias should then be choosen when creating/updating the Lambda in the Greegrass group before deploying it. | ||
|
||
Remember that the Subscriptions MUST be updated with the new version for the Lambda to work !! | ||
|
||
[Back to Main page](../README.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# example-lambda-python | ||
Lambda functions for Greengrass running on an AWS greengrass device accessing external hardware | ||
|
||
This project contains a Lambda posting a text msg to the Topic ***hello/world*** to **IoT Cloud** once every 5 seconds. | ||
|
||
## Prerequisites | ||
|
||
### Greengrass SDK | ||
Observer that you MUST copy the greengrasssdk folder from the [Python SDK](https://github.com/aws/aws-greengrass-core-sdk-python/) to this folder before you can create a deployment package ! | ||
|
||
### Resources | ||
No resources needs to be created for this project | ||
|
||
### Subscriptions | ||
You MUST add a subscription for ***hello/world*** with this Lambda as **Source** & IoT Cloud as **Target** | ||
|
||
## Usage | ||
Run the **zip-ggs-module.bat** to create a zip file that can be uploaded to the Lambda function | ||
|
||
OBS. | ||
When the Lambda has been uploaded you MUST do the following 2 steps before you can deploy theLambda to a Greengrass device | ||
1. Create a version | ||
2. Create an Alias | ||
|
||
The alias should then be choosen when creating/updating the Lambda in the Greegrass group before deploying it. | ||
|
||
Remember that the Subscriptions MUST be updated with the new version for the Lambda to work !! | ||
|
||
[Back to Main page](../README.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters