[{"data":1,"prerenderedAt":63},["ShallowReactive",2],{"pattern-eventbridge-cloudwatch-terraform":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":13,"deploy":15,"description":18,"extension":19,"framework":20,"gitHub":21,"highlight":6,"introBox":27,"language":31,"level":32,"meta":33,"patternArch":34,"resources":48,"s3URL":6,"services":6,"stem":57,"testing":58,"videoId":6,"__hash__":62},"patterns\u002Fpatterns\u002Feventbridge-cloudwatch-terraform.json","Amazon EventBridge to Amazon CloudWatch Logs",null,{"headline":8,"text":9},"Cleanup",[10,11,12],"1. Change directory: \u003Ccode>cd eventbridge-cloudwatch-terraform\u003C\u002Fcode>.","2. Delete the stack: \u003Ccode>terraform destroy\u003C\u002Fcode>.","3. Confirm the stack has been deleted: \u003Ccode>terraform show\u003C\u002Fcode>.",[14],"content\u002Fcontributors\u002Fahmad-aboushady.json",{"text":16},[17],"See the GitHub repo for detailed deployment instructions.","Create an EventBridge rule that sends events to CloudWatch Logs","json","Terraform",{"template":22},{"projectFolder":23,"repoURL":24,"templateURL":25,"templateFile":26},"eventbridge-cloudwatch-terraform","https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Feventbridge-cloudwatch-terraform","serverless-patterns\u002Feventbridge-cloudwatch-terraform","main.tf",{"headline":28,"text":29},"How it works",[30],"This template creates an EventBridge event bus and rule that publishes matched events to CloudWatch Logs. In this example, the rule filters for specific attributes in the event before sending to the CloudWatch Logs target.","Integration","100",{},{"icon1":35,"icon2":40,"line1":44},{"x":36,"y":37,"service":38,"label":39},20,50,"eventbridge","EventBridge",{"x":41,"y":37,"service":42,"label":43},80,"cloudwatch","CloudWatch Logs",{"from":45,"to":46,"label":47},"icon1","icon2","",{"headline":49,"bullets":50},"Additional resources",[51,54],{"text":52,"link":53},"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":55,"link":56},"Use Amazon EventBridge to Build Decoupled, Event-Driven Architectures","https:\u002F\u002Fserverlessland.com\u002Flearn\u002Feventbridge","patterns\u002Feventbridge-cloudwatch-terraform",{"headline":59,"text":60},"Testing",[61],"See the GitHub repo for detailed testing instructions.","HFK9XKn14ExijKmunpaUe8OSkrXAJQHjRXDUjj5_iPI",1778846884462]