[{"data":1,"prerenderedAt":61},["ShallowReactive",2],{"pattern-dynamodb-eventbridge-transformer":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":29,"level":30,"meta":31,"patternArch":32,"resources":51,"s3URL":6,"services":6,"stem":56,"testing":57,"videoId":6,"__hash__":60},"patterns\u002Fpatterns\u002Fdynamodb-eventbridge-transformer.json","Amazon DynamoDB to Amazon EventBridge using Amazon EventBridge Pipes.",null,{"text":8},[9],"Delete the stack: \u003Ccode>cdk delete\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Fdominik-richter.json",{"text":13},[14],"cdk deploy","This pattern takes a change data capture event from DynamoDB, removes the data type descriptors and sends the simplified event to an EventBridge bus.","json","AWS CDK",{"template":19},{"repoURL":20,"templateURL":21,"projectFolder":22,"templateFile":23},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fdynamodb-eventbridge-transformer","serverless-patterns\u002Fdynamodb-eventbridge-transformer","dynamodb-eventbridge-transformer","src\u002Flib\u002Fpipes-from-dynamo-stack.ts",{"headline":25,"text":26},"How it works",[27,28],"The key components of this architecture are DynamoDB as source and EventBridge as target, connected by a pipe. To demonstrate the end-to-end message flow, the Lambda function writes sample data to the DynamoDB table.","The pattern uses an input transformer to change the event's structure from DynamoDB's response format, which includes data type descriptors, to a simpler JSON structure. The input transformer also allows us to transform the list using the following notation: \u003C$.dynamodb.NewImage.list.L[*].S>","TypeScript","200",{},{"icon1":33,"icon2":38,"icon3":41,"line1":45,"line2":49},{"x":34,"y":35,"service":36,"label":37},15,50,"dynamodb","Amazon DynamoDB",{"x":35,"y":35,"service":39,"label":40},"eventbridge-pipes","Amazon EventBridge Pipes",{"x":42,"y":35,"service":43,"label":44},85,"eventbridge","Amazon EventBridge",{"from":46,"to":47,"label":48},"icon1","icon2","",{"from":47,"to":50,"label":48},"icon3",{"bullets":52},[53],{"text":54,"link":55},"More Enterprise Integration Patterns on AWS Samples","https:\u002F\u002Fgithub.com\u002Faws-samples\u002Famazon-eventbridge-pipes-architectural-patterns","patterns\u002Fdynamodb-eventbridge-transformer",{"text":58},[59],"See the GitHub repo for detailed testing instructions.","n5AGKI7mA_am1hkQFpLfzsj6K0YQ9b0d82BIf0u75yA",1782470139780]