[{"data":1,"prerenderedAt":71},["ShallowReactive",2],{"pattern-ddbstream-lambda-sfn-cdk-ts":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":10,"deploy":13,"description":16,"extension":17,"framework":18,"gitHub":19,"highlight":6,"introBox":25,"language":32,"level":33,"meta":34,"patternArch":35,"resources":55,"s3URL":6,"services":6,"stem":66,"testing":67,"videoId":6,"__hash__":70},"patterns\u002Fpatterns\u002Fddbstream-lambda-sfn-cdk-ts.json","Amazon DynamoDB Stream to AWS Step Functions Trigger",null,{"text":8},[9],"Delete the stack: \u003Ccode>cdk destroy\u003C\u002Fcode>",[11,12],"content\u002Fcontributors\u002Favnish-kumar.json","content\u002Fcontributors\u002Fsaptarshi-banerjee.json",{"text":14},[15],"cdk deploy","Trigger AWS Step Functions workflows in response to changes in DynamoDB tables using a CDK construct that connects DynamoDB and Step Functions.","json","AWS CDK",{"template":20},{"repoURL":21,"templateURL":22,"projectFolder":23,"templateFile":24},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fddbstream-lambda-sfn-cdk-ts","serverless-patterns\u002Fddbstream-lambda-sfn-cdk-ts","ddbstream-lambda-sfn-cdk-ts","src\u002Flib\u002Fddbstream-lambda-sfn-example-stack.ts",{"headline":26,"text":27},"How it works",[28,29,30,31],"This pattern demonstrates how to automatically trigger AWS Step Functions workflows in response to changes in DynamoDB tables.","The CDK construct 'DynamoWorkflowTrigger' connects DynamoDB and Step Functions by allowing you to define event handlers that monitor specific changes in your DynamoDB tables.","It leverages Lambda functions to evaluate conditions and start Step Functions state machines with inputs derived from the DynamoDB events.","The pattern includes features like dead letter queues, VPC support, custom security groups, and fine-grained event filtering.","TypeScript","300",{},{"icon1":36,"icon2":41,"icon3":44,"line1":48,"line2":52},{"x":37,"y":38,"service":39,"label":40},20,50,"dynamodb","Amazon DynamoDB",{"x":38,"y":38,"service":42,"label":43},"lambda","AWS Lambda",{"x":45,"y":38,"service":46,"label":47},80,"sfn","AWS Step Functions",{"from":49,"to":50,"label":51},"icon1","icon2","DDB Stream",{"from":50,"to":53,"label":54},"icon3","",{"bullets":56},[57,60,63],{"text":58,"link":59},"AWS DynamoDB Streams Documentation","https:\u002F\u002Fdocs.aws.amazon.com\u002Famazondynamodb\u002Flatest\u002Fdeveloperguide\u002FStreams.html",{"text":61,"link":62},"AWS Step Functions Documentation","https:\u002F\u002Fdocs.aws.amazon.com\u002Fstep-functions\u002Flatest\u002Fdg\u002Fwelcome.html",{"text":64,"link":65},"AWS CDK Documentation","https:\u002F\u002Fdocs.aws.amazon.com\u002Fcdk\u002Flatest\u002Fguide\u002Fhome.html","patterns\u002Fddbstream-lambda-sfn-cdk-ts",{"text":68},[69],"See the GitHub repo for detailed testing instructions.","z9hBN3HeTlPTrfITIETxioHnzfnq5BcQ2WuAo0F88bI",1779273334665]