Amazon DynamoDB seed data on create with custom resource using CDK (Typescript)

DynamoDB

Create a DynamoDB table and insert data upon creation using custom resource.

This project demonstrates how to create a DynamoDB table and insert data upon creation using custom resource.

< Back to all patterns

GitHub icon Download this pattern (.zip)

GitHub icon View this pattern on GitHub


Clone repo

git clone https://github.com/aws-samples/serverless-patterns/cd serverless-patterns/dynamodb-seed-data-on-create-cdk

Deploy

cdk deploy --all


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

Delete the stack: cdk destory --all.

Created by:

Pubudu Jayawardana

Pubudu Jayawardana

AWS Community Builder in Serverless category. Serverless advocate and enthusiast.

Follow on LinkedIn