[{"data":1,"prerenderedAt":66},["ShallowReactive",2],{"pattern-s3-eventbridge-sfn-terraform":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":10,"deploy":12,"description":16,"extension":17,"framework":18,"gitHub":19,"highlight":6,"introBox":25,"language":31,"level":32,"meta":33,"patternArch":34,"resources":53,"s3URL":6,"services":6,"stem":61,"testing":62,"videoId":6,"__hash__":65},"patterns\u002Fpatterns\u002Fs3-eventbridge-sfn-terraform.json","Amazon S3 to AWS Step Functions with Amazon EventBridge Rule",null,{"text":8},[9],"terraform destroy",[11],"content\u002Fcontributors\u002Foriol-matavacas.json",{"text":13},[14,15],"terraform init","terraform apply","How to create an Amazon EventBridge rule with Amazon S3 as the event source and AWS Step Functions as target.","json","Terraform",{"template":20},{"repoURL":21,"templateURL":22,"projectFolder":23,"templateFile":24},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fs3-eventbridge-sfn-terraform","serverless-patterns\u002Fs3-eventbridge-sfn-terraform","s3-eventbridge-sfn-terraform","main.tf",{"headline":26,"text":27},"Integrating Step Functions and S3 with EventBridge",[28,29,30],"This sample project demonstrates invoking an AWS Step Functions state machine when an object is created in an Amazon S3 bucket.","When you upload an object to the S3 bucket,  an `Object Created` event is sent to EventBridge. Based on the EventBridge rule, the state machine is invoked.","This pattern deploys one Step Function state machine, one S3 bucket, one EventBridge rule.","Node.js","200",{},{"icon1":35,"icon2":40,"icon3":43,"line1":47,"line2":51},{"x":36,"y":37,"service":38,"label":39},20,50,"s3","Amazon S3",{"x":37,"y":37,"service":41,"label":42},"eventbridge","Amazon EventBridge",{"x":44,"y":37,"service":45,"label":46},80,"sfn","AWS Step Functions",{"from":48,"to":49,"label":50},"icon1","icon2","Object created",{"from":49,"to":52},"icon3",{"bullets":54},[55,58],{"text":56,"link":57},"Amazon S3 Event Notifications with Amazon EventBridge","https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Faws\u002Fnew-use-amazon-s3-event-notifications-with-amazon-eventbridge",{"text":59,"link":60},"Using Amazon EventBridge with Amazon S3","https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonS3\u002Flatest\u002Fuserguide\u002FEventBridge.html","patterns\u002Fs3-eventbridge-sfn-terraform",{"text":63},[64],"See the GitHub repo for detailed testing instructions.","d01LxRbSbR8dAPCTOyL2cZx_CzmOea3E2f9BPRc3Rt8",1778846887227]