Creating and using Lambda functions - 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).

Creating and using Lambda functions

The tutorial describes how to create and execute from the browser a Lambda function that creates a DynamoDB table.

The tutorial should take about 20 minutes to complete.

Prerequisite tasks

To set up and run this example, you must first complete these tasks:

  • Set up the project environment to run these Node TypeScript examples, and install the required AWS SDK for JavaScript and third-party modules. Follow the instructions on GitHub.

  • Create a shared configurations file with your user credentials. For more information about providing a credentials JSON file, see Loading credentials in Node.js from the shared credentials file.

Important

This example uses CommonJS sytax, as Lambda does not currently support ECMAScript 6 (ES6) syntax. For more information, see JavaScript ES6/CommonJS syntax