Distributed Map - DynamoDB Import JSON

Fastest way to marshall JSON data and import to DynamoDB

Currently the fastest (and least expensive) way to get data into DynamoDB is to use the ImportTable API call. The problem is that it only accepts CSV, DynamoDB JSON, or ION formats. What if you have a different data format? You would have to build an entire orchestrated process to transform and handle errors. This workflow uses the newly released Distributed Map feature to fix this gap by automating the transformation of JSON to DynamoDB JSON and importing into DynamoDB. The best part is that this workflow can be easily adapted to convert any type of data needed.

< Back to all workflows

GitHub icon View this workflow on GitHub


Clone repo

git clone https://github.com/aws-samples/step-functions-workflows-collection/tree/main/dynamodb-import-json/cd step-functions-workflows-collection/dynamodb-import-json

Deploy

sam buildsam deploy --guided


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

1. Delete the stack: sam delete.

Created by:

Jacob Cravinho

Jacob Cravinho

Jacob is a Sr. Solutions Architect who loves a challenge & is always in search of the next great meal!

Follow on LinkedIn