The GitHub repository for this guide includes sample applications that demonstrate the use of various languages and AWS services. Each sample application includes scripts for easy deployment and cleanup and supporting resources.
Sample Lambda applications in Node.js
-
blank-nodejs
– A Node.js function that shows the use of logging, environment variables, AWS X-Ray tracing, layers, unit tests and the AWS SDK. -
nodejs-apig
– A function with a public API endpoint that processes an event from API Gateway and returns an HTTP response. -
efs-nodejs
– A function that uses an Amazon EFS file system in a Amazon VPC. This sample includes a VPC, file system, mount targets, and access point configured for use with Lambda.
To deploy a sample application, follow the instructions in its README file.