AWS Lambda examples - AWS SDK for JavaScript

Help us improve the AWS SDK for JavaScript version 3 (V3) documentation by providing feedback using the Feedback link, or create an issue or pull request on GitHub.

The AWS SDK for JavaScript V3 API Reference Guide describes in detail all the API operations for the AWS SDK for JavaScript version 3 (V3).

AWS Lambda examples

AWS Lambda is a serverless compute service that lets you run code without provisioning or managing servers, creating workload-aware cluster scaling logic, maintaining event integrations, or managing runtimes.

Important

AWS SDK for JavaScript v2, and not v3, is installed in the default Lambda Node.js environment. The examples linked here demonstrate how to bundle the required AWS SDK for JavaScript v3 modules with the example code.

The JavaScript API for AWS Lambda is exposed through the LambdaService client class.

Here are a list of examples that demonstrate how to create and use Lambda functions with the AWS SDK for JavaScript v3: