[{"data":1,"prerenderedAt":67},["ShallowReactive",2],{"pattern-eventbridge-cloudevents-transformer-cdk-typescript":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":45,"s3URL":6,"services":6,"stem":62,"testing":63,"videoId":6,"__hash__":66},"patterns\u002Fpatterns\u002Feventbridge-cloudevents-transformer-cdk-typescript.json","Amazon EventBridge CloudEvents Input Transformer to AWS Lambda",null,{"text":8},[9],"Delete the stack: \u003Ccode>cdk destroy\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Fmichael-gasch.json",{"text":13},[14],"cdk deploy","Use an EventBridge input transformer to convert events to CloudEvents format and send them to a Lambda function.","json","AWS CDK",{"template":19},{"repoURL":20,"templateURL":21,"projectFolder":22,"templateFile":23},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Feventbridge-cloudevents-transformer-cdk-typescript","serverless-patterns\u002Feventbridge-cloudevents-transformer-cdk-typescript","eventbridge-cloudevents-transformer-cdk-typescript","src\u002Flib\u002Feb-lambda-cloudevents-stack.ts",{"headline":25,"text":26},"How it works",[27],"EventBridge events are converted to CloudEvents using an input transformer in a rule on a custom event bus. A Lambda function is configured as a target for that rule. The Lambda function uses the CloudEvents TypeScript SDK to deserialize and validate incoming CloudEvents.","TypeScript","200",{},{"icon1":32,"icon2":37,"line1":41},{"x":33,"y":34,"service":35,"label":36},20,50,"eventbridge","Amazon EventBridge",{"x":38,"y":34,"service":39,"label":40},80,"lambda","AWS Lambda",{"from":42,"to":43,"label":44},"icon1","icon2","Transform event to CloudEvent",{"bullets":46},[47,50,53,56,59],{"text":48,"link":49},"EventBridge Input Transformation Documentation","https:\u002F\u002Fdocs.aws.amazon.com\u002Feventbridge\u002Flatest\u002Fuserguide\u002Feb-transform-target-input.html",{"text":51,"link":52},"CloudEvents Specification","https:\u002F\u002Fcloudevents.io\u002F",{"text":54,"link":55},"Cloudformation API for EventBridge","https:\u002F\u002Fdocs.aws.amazon.com\u002FAWSCloudFormation\u002Flatest\u002FUserGuide\u002FAWS_Events.html",{"text":57,"link":58},"EventBridge Visuals","https:\u002F\u002Fserverlessland.com\u002Fserverless\u002Fvisuals\u002Feventbridge",{"text":60,"link":61},"Learn more about event-driven architecture","https:\u002F\u002Fserverlessland.com\u002Fevent-driven-architecture","patterns\u002Feventbridge-cloudevents-transformer-cdk-typescript",{"text":64},[65],"See the README in the GitHub repo for detailed testing instructions.","h-Rg_FgLkQJXNcy5dXFMWFV0FMRK5rKH4wfZmPOM0g8",1781001381939]