[{"data":1,"prerenderedAt":71},["ShallowReactive",2],{"pattern-dynamodb-kinesis-cdk":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":13,"deploy":15,"description":19,"extension":20,"framework":21,"gitHub":22,"highlight":6,"introBox":32,"language":38,"level":39,"meta":40,"patternArch":41,"resources":54,"s3URL":6,"services":63,"stem":65,"testing":66,"videoId":37,"__hash__":70},"patterns\u002Fpatterns\u002Fdynamodb-kinesis-cdk.json","Amazon DynamoDB to Amazon Kinesis",null,{"headline":8,"text":9},"Cleanup",[10,11,12],"1. Delete the stack: \u003Ccode>npx cdk destroy\u003C\u002Fcode>.","2. Confirm the stack has been deleted: \u003Ccode>aws cloudformation list-stacks --query \"StackSummaries[?contains(StackName,'STACK_NAME')].StackStatus\"\u003C\u002Fcode>.","3. You see a message confirming DELETE_COMPLETE.",[14],"content\u002Fcontributors\u002Fmilena-godau.json",{"text":16},[17,18],"npm install","cdk deploy","Deploy a DynamoDB table that uses a Kinesis stream","json","AWS CDK",{"template":23,"payloads":28},{"projectFolder":24,"repoURL":25,"templateURL":26,"templateFile":27},"dynamodb-kinesis-cdk","https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fdynamodb-kinesis-cdk","serverless-patterns\u002Fdynamodb-kinesis-cdk","cdk\u002Fbin\u002Fdynamodb-kinesis-cdk.ts",[29],{"headline":30,"payloadURL":31},"Sample Lambda payload","lambda-dynamodb\u002Fevents\u002FinputFile.txt",{"headline":33,"text":34,"test":37},"How it works",[35,36],"The CDK stack deploys a DynamoDB table and a Kinesis Data Stream.","When new items are added to the DynamoDB table, the item-level changes in the table will be streamed to the Kinesis Data Stream.","","TypeScript","200",{},{"icon1":42,"icon2":47,"line1":51},{"x":43,"y":44,"service":45,"label":46},20,50,"dynamodb","Amazon DynamoDB",{"x":48,"y":44,"service":49,"label":50},80,"kinesis-datastreams","Kinesis",{"from":52,"to":53,"label":37},"icon1","icon2",{"headline":55,"bullets":56},"Additional resources",[57,60],{"text":58,"link":59},"Creating a single-table design with Amazon DynamoDB","https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Fcompute\u002Fcreating-a-single-table-design-with-amazon-dynamodb\u002F",{"text":61,"link":62},"Building serverless applications with streaming data: Part 1","https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Fcompute\u002Fbuilding-serverless-applications-with-streaming-data-part-1\u002F",{"from":45,"to":64},"kinesis","patterns\u002Fdynamodb-kinesis-cdk",{"headline":67,"text":68},"Testing",[69],"After deployment, add an item to the DynamoDB table. Go to the CloudWatch Metrics for the deployed Kinesis Data Stream. You will see incoming record metrics for the item data.","TBo9iAbwBO1PnjV0YL9F1aB5__MmJWZl0Rvr0qy20No",1779273334745]