[{"data":1,"prerenderedAt":71},["ShallowReactive",2],{"pattern-s3-eventbridge-sns-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":66,"testing":67,"videoId":6,"__hash__":70},"patterns\u002Fpatterns\u002Fs3-eventbridge-sns-cdk.json","Amazon S3 to Amazon EventBridge to Amazon SNS",null,{"text":8},[9],"Delete the stack: \u003Ccode>cdk destroy\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Frajesh-raghu.json",{"text":13},[14],"cdk deploy","Publish events directly from S3 to EventBridge and send notifications to SNS when an object is created.","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-sns-cdk","serverless-patterns\u002Fs3-eventbridge-sns-cdk","s3-eventbridge-sns-cdk","src\u002Flib\u002Fs3-eventbridge-sns-stack.ts",{"headline":25,"text":26},"How it works",[27,28,29],"This sample project demonstrates how to use Amazon SNS to deliver notifications to subscribers for objects uploaded to an S3 bucket.","This pattern uses AWS CDK to setup an S3 bucket that publishes events to Amazon EventBridge. When an object is uploaded to the bucket, an EventBridge rule triggers and a SNS notification is sent to subscribers.","This pattern deploys one S3 Bucket, SNS Topic, EventBridge rule and a Lambda function which is used internally by CDK to apply configuration notifications on the bucket","TypeScript","200",{},{"icon1":34,"icon2":39,"icon3":42,"line1":46,"line2":50},{"x":35,"y":36,"service":37,"label":38},20,50,"s3","Amazon S3",{"x":36,"y":36,"service":40,"label":41},"eventbridge","Amazon EventBridge",{"x":43,"y":36,"service":44,"label":45},80,"sns","Amazon SNS",{"from":47,"to":48,"label":49},"icon1","icon2","",{"from":48,"to":51,"label":49},"icon3",{"bullets":53},[54,57,60,63],{"text":55,"link":56},"Getting started with the AWS CDK","https:\u002F\u002Fdocs.aws.amazon.com\u002Fcdk\u002Fv2\u002Fguide\u002Fgetting_started.html",{"text":58,"link":59},"Setup SNS topic","https:\u002F\u002Fdocs.aws.amazon.com\u002Fsns\u002Flatest\u002Fdg\u002Fsns-create-topic.html",{"text":61,"link":62},"Use Amazon S3 Event Notifications with Amazon EventBridge","https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Faws\u002Fnew-use-amazon-s3-event-notifications-with-amazon-eventbridge\u002F",{"text":64,"link":65},"Use Amazon EventBridge to Build Decoupled, Event-Driven Architectures","https:\u002F\u002Fserverlessland.com\u002Flearn\u002Feventbridge","patterns\u002Fs3-eventbridge-sns-cdk",{"text":68},[69],"See the GitHub repo for detailed testing instructions.","6-CtU2eedwffY3CIaw8mYjiFFgM1hD-Xbm1bq6EgXLE",1778846887236]