[{"data":1,"prerenderedAt":68},["ShallowReactive",2],{"pattern-sfn-eventbridge":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":15,"deploy":17,"description":20,"extension":21,"framework":22,"gitHub":23,"highlight":6,"introBox":32,"language":36,"level":37,"meta":38,"patternArch":39,"resources":52,"s3URL":6,"services":61,"stem":62,"testing":63,"videoId":31,"__hash__":67},"patterns\u002Fpatterns\u002Fsfn-eventbridge.json","AWS Step Functions to Amazon EventBridge",null,{"headline":8,"text":9},"Cleanup",[10,11,12,13,14],"1. Execute the Step Functions workflow:","\u003Ccode>aws stepfunctions start-execution --state-machine-arn ENTER_YOUR_STATE_MACHINE_ARN\u003C\u002Fcode>","2. View CloudWatch Logs to see events that Step Functions published to EventBridge:","\u003Ccode>aws logs tail CLOUDWATCH_LOG_GROUP\u003C\u002Fcode>","3. You see an event that was delivered to the event bus.",[16],"content\u002Fcontributors\u002Fdavid-maccarone.json",{"text":18},[19],"sam deploy --guided","Creates a Step Functions workflow that publishes events to EventBridge","json","AWS SAM",{"template":24,"payloads":29},{"projectFolder":25,"repoURL":26,"templateURL":27,"templateFile":28},"sfn-eventbridge","https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fsfn-eventbridge","serverless-patterns\u002Fsfn-eventbridge","template.yaml",[30],{"headline":31,"payloadURL":31},"",{"headline":33,"text":34},"How it works",[35],"The AWS SAM template deploys a Step Functions workflow that publishes an event to an EventBridge event bus. An IAM Role allows the workflow execution to publish events onto the event bus. An EventBridge rule forwards all events to a CloudWatch Logs log group for easy inspection.","Node.js","100",{},{"icon1":40,"icon2":45,"line1":49},{"x":41,"y":42,"service":43,"label":44},20,50,"sfn","Step Functions",{"x":46,"y":42,"service":47,"label":48},80,"eventbridge","EventBridge",{"from":50,"to":51,"label":31},"icon1","icon2",{"headline":53,"bullets":54},"Additional resources",[55,58],{"text":56,"link":57},"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":59,"link":60},"Use Amazon EventBridge to Build Decoupled, Event-Driven Architectures","https:\u002F\u002Fserverlessland.com\u002Flearn\u002Feventbridge",{"from":43,"to":47},"patterns\u002Fsfn-eventbridge",{"headline":64,"text":65},"Testing",[66],"See the GitHub repo for detailed testing instructions.","1R4hoAPgqCJrPi3mut0H8_X9fVD0yoCxPS1fWxNki48",1778846887838]