[{"data":1,"prerenderedAt":49},["ShallowReactive",2],{"pattern-dynamodb-seed-data-on-create-cdk":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":10,"deploy":12,"description":15,"extension":16,"framework":17,"gitHub":18,"highlight":6,"introBox":24,"language":28,"level":29,"meta":30,"patternArch":31,"resources":36,"s3URL":6,"services":6,"stem":44,"testing":45,"videoId":6,"__hash__":48},"patterns\u002Fpatterns\u002Fdynamodb-seed-data-on-create-cdk.json","Amazon DynamoDB seed data on create with custom resource using CDK (Typescript)",null,{"text":8},[9],"Delete the stack: \u003Ccode>cdk destory --all\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Fpubudu-jayawardana.json",{"text":13},[14],"cdk deploy --all","Create a DynamoDB table and insert data upon creation using custom resource.","json","AWS CDK",{"template":19},{"repoURL":20,"templateURL":21,"projectFolder":22,"templateFile":23},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fdynamodb-seed-data-on-create-cdk","serverless-patterns\u002Fdynamodb-seed-data-on-create-cdk","dynamodb-seed-data-on-create-cdk","lib\u002Fdynamodb-seed-data-on-create-cdk-stack.ts",{"headline":25,"text":26},"How it works",[27],"This project demonstrates how to create a DynamoDB table and insert data upon creation using custom resource.","TypeScript","200",{},{"icon1":32},{"x":33,"y":33,"service":34,"label":35},50,"dynamodb","DynamoDB",{"bullets":37},[38,41],{"text":39,"link":40},"CDK Custom Resource","https:\u002F\u002Fdocs.aws.amazon.com\u002Fcdk\u002Fapi\u002Fv2\u002Fdocs\u002Faws-cdk-lib.custom_resources.AwsCustomResource.html",{"text":42,"link":43},"CloudFormation Custom Resource","https:\u002F\u002Fdocs.aws.amazon.com\u002FAWSCloudFormation\u002Flatest\u002FUserGuide\u002Ftemplate-custom-resources-lambda.html","patterns\u002Fdynamodb-seed-data-on-create-cdk",{"text":46},[47],"See the GitHub repo for detailed testing instructions.","SbjombZK8TPsB8AC4HbsCAwAB00jqc9lE0N1_bLRZFk",1781433312829]