[{"data":1,"prerenderedAt":65},["ShallowReactive",2],{"pattern-s3-eventbridge-sfn-cdk":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":52,"s3URL":6,"services":6,"stem":60,"testing":61,"videoId":6,"__hash__":64},"patterns\u002Fpatterns\u002Fs3-eventbridge-sfn-cdk.json","Amazon S3 to AWS Step Functions using Amazon EventBridge",null,{"text":8},[9],"Delete the stack: \u003Ccode>cdk delete\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Ftrinh-vo.json",{"text":13},[14],"cdk deploy","How to create an EventBridge rule with S3 as the event source and Step Functions as target.","json","AWS CDK",{"template":19},{"repoURL":20,"templateURL":21,"projectFolder":22,"templateFile":23},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fs3-eventbridge-sfn-cdk","serverless-patterns\u002Fs3-eventbridge-sfn-cdk","s3-eventbridge-sfn-cdk","src\u002Flib\u002Fs3-eventbridge-sfn.ts",{"headline":25,"text":26},"How it works",[27,28,29],"This sample project demonstrates how you can trigger an execution in Step Functions state machine when an object is created in an S3 bucket . ","When you uploads an object to the newly created S3 bucket, this will send an `Object Created` event to EventBridge, based on the EventBridge rule, the state machine is executed","This pattern deploys one Step Functions state machine, one S3 bucket, one EventBridge rule.","TypeScript","200",{},{"icon1":34,"icon2":39,"icon3":42,"line1":46,"line2":50},{"x":35,"y":36,"service":37,"label":38},20,50,"s3","S3",{"x":36,"y":36,"service":40,"label":41},"eventbridge","EventBridge Rule",{"x":43,"y":36,"service":44,"label":45},80,"sfn","Step Functions",{"from":47,"to":48,"label":49},"icon1","icon2","",{"from":48,"to":51,"label":49},"icon3",{"bullets":53},[54,57],{"text":55,"link":56},"AWS S3 Event Notifications with EventBridge","https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Faws\u002Fnew-use-amazon-s3-event-notifications-with-amazon-eventbridge\u002F",{"text":58,"link":59},"Using EventBridge with S3","https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonS3\u002Flatest\u002Fuserguide\u002FEventBridge.html","patterns\u002Fs3-eventbridge-sfn-cdk",{"text":62},[63],"See the GitHub repo for detailed testing instructions.","j_BwxapZfPu-x4_IDyO4a0GYV5aYGABiDnchiFGTfcU",1778846887222]