Use Step Functions to invoke Lambda functions - Amazon DynamoDB
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Use Step Functions to invoke Lambda functions

The following code examples show how to create an Amazon Step Functions state machine that invokes Amazon Lambda functions in sequence.

Java
SDK for Java 2.x

Shows how to create an Amazon serverless workflow by using Amazon Step Functions and the Amazon SDK for Java 2.x. Each workflow step is implemented using an Amazon Lambda function.

For complete source code and instructions on how to set up and run, see the full example on GitHub.

Services used in this example
  • DynamoDB

  • Lambda

  • Amazon SES

  • Step Functions

JavaScript
SDK for JavaScript (v3)

Shows how to create an Amazon serverless workflow by using Amazon Step Functions and the Amazon SDK for JavaScript. Each workflow step is implemented using an Amazon Lambda function.

Lambda is a compute service that enables you to run code without provisioning or managing servers. Step Functions is a serverless orchestration service that lets you combine Lambda functions and other Amazon services to build business-critical applications.

For complete source code and instructions on how to set up and run, see the full example on GitHub.

This example is also available in the Amazon SDK for JavaScript v3 developer guide.

Services used in this example
  • DynamoDB

  • Lambda

  • Amazon SES

  • Step Functions

For a complete list of Amazon SDK developer guides and code examples, see Using DynamoDB with an Amazon SDK. This topic also includes information about getting started and details about previous SDK versions.