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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
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