AWS Step Functions to AWS Lambda to Amazon DynamoDB

Step Functions → AWS Lambda → Amazon DynamoDB

Create a Step Functions workflow that invokes Lambda and DynamoDB

Shows how to pass event data from a Step Functions workflow to a Lambda function for processing and storing in a DynamoDB table.

< Back to all patterns

GitHub icon Download this pattern (.zip)

GitHub icon View this pattern on GitHub


Launch Stack

Clone repo

git clone https://github.com/aws-samples/serverless-patterns/cd serverless-patterns/sfn-lambda-dynamodb

Deploy

sam deploy --guided


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

1. Delete the stack: sam delete --stack-name STACK_NAME.
2. Confirm the stack has been deleted: aws cloudformation list-stacks --query "StackSummaries[?contains(StackName,'STACK_NAME')].StackStatus"

Created by:

Shruti Arora

Shruti Arora

Shruti is a Cloud Application Architect with AWS Professional Services Team. Passionate about serverless development.