The AWS Greengrass Core SDK for JavaScript allows developers to write JavaScript Lambda functions that will run within Greengrass. This document provides instructions for preparing your Greengrass Core environment to run Lambda functions written in JavaScript. It also includes examples on how to develop a Lambda function in JavaScript as well as packaging and running an example Hello World file in JavaScript for your Greengrass core. The environment where Greengrass is running on needs to be able to run NodeJS 12.x applications. Unzip the SDK into your node_modules folder of your function. This should create a aws-greengrass-core-sdk folder which includes the SDK. Your console.log operation will be logged as INFO. A console.error operation will be logged as error. Currently, our NodeJS SDK only allows you to log at info or error level only.

Features

  • In Greengrass, you can send a context object in a JSON format to be passed to another Lambda that is being invoked
  • Stream manager supports automatic data export to AWS S3 and AWS IoT SiteWise
  • Provides new API method to update existing streams, and pause or resume exporting
  • Added support for StreamManager
  • Choose any role as the role is not used within Greengrass
  • Unzip the SDK into your node_modules folder of your function

Project Samples

Project Activity

See All Activity >

Categories

Cloud Services

License

Apache License V2.0

Follow AWS Greengrass Core SDK for JavaScript

AWS Greengrass Core SDK for JavaScript Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of AWS Greengrass Core SDK for JavaScript!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Cloud Services Software

Registered

2022-07-08