[{"data":1,"prerenderedAt":62},["ShallowReactive",2],{"pattern-eventbridge-batch-sam":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":46,"s3URL":6,"services":6,"stem":57,"testing":58,"videoId":6,"__hash__":61},"patterns\u002Fpatterns\u002Feventbridge-batch-sam.json","Amazon EventBridge to AWS Batch",null,{"text":8},[9],"Delete the stack: \u003Ccode>sam delete\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Fbiswanath-mukherjee.json",{"text":13},[14],"sam deploy --guided","Create an EventBridge event bus and route events to AWS Batch.","json","AWS SAM",{"template":19},{"repoURL":20,"templateURL":21,"projectFolder":22,"templateFile":23},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Feventbridge-batch-sam","serverless-patterns\u002Feventbridge-batch-sam","eventbridge-batch-sam","template.yaml",{"headline":25,"text":26},"How it works",[27,28],"The AWS SAM template deploys the resources and the IAM permissions required to run the application.","The EventBridge rule specified in `template.yaml` filters the events based upon the criteria in the `EventPattern` section. When matching events are sent to EventBridge that trigger the rule, it triggers AWS Batch.","YAML","200",{},{"icon1":33,"icon2":38,"line1":42},{"x":34,"y":35,"service":36,"label":37},20,50,"eventbridge","Amazon EventBridge",{"x":39,"y":35,"service":40,"label":41},80,"batch","AWS Batch",{"from":43,"to":44,"label":45},"icon1","icon2","",{"bullets":47},[48,51,54],{"text":49,"link":50},"AWS Batch jobs as EventBridge targets","https:\u002F\u002Fdocs.aws.amazon.com\u002Fbatch\u002Flatest\u002Fuserguide\u002Fbatch-cwe-target.html",{"text":52,"link":53},"SAM EventBridge Rule","https:\u002F\u002Fdocs.aws.amazon.com\u002Fserverless-application-model\u002Flatest\u002Fdeveloperguide\u002Fsam-property-statemachine-statemachineeventbridgerule.html",{"text":55,"link":56},"SAM - AWS Batch","https:\u002F\u002Fdocs.aws.amazon.com\u002FAWSCloudFormation\u002Flatest\u002FUserGuide\u002FAWS_Batch.html","patterns\u002Feventbridge-batch-sam",{"text":59},[60],"See the GitHub repo for detailed testing instructions.","GozLsSU4v7opbmbW_MaKFvKQ-kUYwJp-gS8yRjfVFK4",1780828546634]