[{"data":1,"prerenderedAt":60},["ShallowReactive",2],{"pattern-eventbridge-cloudwatch-cdk-java":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":30,"level":31,"meta":32,"patternArch":33,"resources":47,"s3URL":6,"services":6,"stem":55,"testing":56,"videoId":6,"__hash__":59},"patterns\u002Fpatterns\u002Feventbridge-cloudwatch-cdk-java.json","Amazon EventBridge to Amazon CloudWatch Logs",null,{"text":8},[9],"Delete the stack: \u003Ccode>cdk destroy\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Fmatt-ridehalgh.json",{"text":13},[14],"cdk deploy","Create an EventBridge rule that sends events to CloudWatch Logs.","json","AWS CDK",{"template":19},{"repoURL":20,"projectFolder":21,"templateFile":22,"templateURL":23},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Feventbridge-cloudwatch-cdk-java","eventbridge-cloudwatch-cdk-java","src\u002Fmain\u002Fjava\u002Fcom\u002Fmyorg\u002FEventBridgeToCloudWatchLogsStackApp.java","serverless-patterns\u002Feventbridge-cloudwatch-cdk-java",{"headline":25,"text":26},"How it works",[27,28,29],"This project contains a sample AWS CDK template to create an EventBridge Rule and a CloudWatch Logs log group.","The EventBridge Rule publishes matched events to CloudWatch Logs.","In this example, the rule filters for specific attributes in the event before sending to the target.","Java","200",{},{"icon1":34,"icon2":39,"line1":43},{"x":35,"y":36,"service":37,"label":38},20,50,"eventbridge","Amazon EventBridge",{"x":40,"y":36,"service":41,"label":42},80,"cloudwatch","Amazon CloudWatch Logs",{"from":44,"to":45,"label":46},"icon1","icon2","",{"bullets":48},[49,52],{"text":50,"link":51},"Reducing custom code by using advanced rules in Amazon EventBridge","https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Fcompute\u002Freducing-custom-code-by-using-advanced-rules-in-amazon-eventbridge\u002F",{"text":53,"link":54},"Use Amazon EventBridge to Build Decoupled, Event-Driven Architectures","https:\u002F\u002Fserverlessland.com\u002Flearn\u002Feventbridge","patterns\u002Feventbridge-cloudwatch-cdk-java",{"text":57},[58],"See the GitHub repo for detailed testing instructions.","4TpbF-ojF7f8awAy2v4ZunOyuQXW0Vejf2hsIT9lrrI",1778846884437]