[{"data":1,"prerenderedAt":73},["ShallowReactive",2],{"pattern-cloudtrail-eventbridge-lambda-typescript-cdk":3,"pattern-group-cloudtrail-eventbridge-lambda-typescript-cdk":6},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":10,"deploy":12,"description":15,"extension":16,"framework":17,"gitHub":18,"highlight":6,"introBox":22,"language":29,"level":30,"meta":31,"patternArch":32,"patternGroup":6,"patternGroupLabel":6,"resources":60,"stem":68,"testing":69,"videoId":6,"__hash__":72},"patterns\u002Fpatterns\u002Fcloudtrail-eventbridge-lambda-typescript-cdk.json","Amazon EventBridge Data Plane Logging with AWS CloudTrail",null,{"text":8},[9],"cdk destroy",[11],"content\u002Fcontributors\u002Fnithin-chandran-r.json",{"text":13},[14],"cdk deploy","Log Amazon EventBridge PutEvents API calls with AWS CloudTrail data events and process them with an AWS Lambda function for security and operational visibility.","json","AWS CDK",{"template":19},{"patternPath":20,"templateFile":21},"cloudtrail-eventbridge-lambda\u002Ftypescript\u002Fcdk","lib\u002Feventbridge-cloudtrail-dataplane-stack.ts",{"headline":23,"text":24},"How it works",[25,26,27,28],"This pattern creates a single-Region CloudTrail trail that logs data events for the Amazon EventBridge event buses in the Region you deploy to.","CloudTrail captures `PutEvents` API calls and delivers them as events to EventBridge.","An EventBridge rule matches these CloudTrail events and triggers a Lambda function for alerting.","This provides visibility into who is putting events, from where, and how many, which is essential for security auditing.","TypeScript","300",{},{"icon1":33,"icon2":38,"icon3":42,"icon4":46,"line1":50,"line2":54,"line3":57},{"x":34,"y":35,"service":36,"label":37},15,50,"eventbridge","Amazon EventBridge\nPutEvents",{"x":39,"y":35,"service":40,"label":41},38,"cloudtrail","AWS CloudTrail\nData events",{"x":43,"y":35,"service":44,"label":45},62,"eventbridge-rule","Amazon EventBridge\nRule",{"x":47,"y":35,"service":48,"label":49},85,"lambda-event-functions","AWS Lambda\nProcessor",{"from":51,"to":52,"label":53},"icon1","icon2","Logged",{"from":52,"to":55,"label":56},"icon3","API call",{"from":55,"to":58,"label":59},"icon4","Match",{"bullets":61},[62,65],{"text":63,"link":64},"EventBridge Data Plane CloudTrail Logging","https:\u002F\u002Faws.amazon.com\u002Fabout-aws\u002Fwhats-new\u002F2026\u002F05\u002Famazon-eventbridge-data-aws-cloudtrail\u002F",{"text":66,"link":67},"CloudTrail Data Events","https:\u002F\u002Fdocs.aws.amazon.com\u002Fawscloudtrail\u002Flatest\u002Fuserguide\u002Flogging-data-events-with-cloudtrail.html","patterns\u002Fcloudtrail-eventbridge-lambda-typescript-cdk",{"text":70},[71],"See the README for testing instructions.","HAbvTixwSkDCAlHTUWq6fLY6lGgCuDsZ2e9xOxqxVe0",1795084462363]