[{"data":1,"prerenderedAt":71},["ShallowReactive",2],{"pattern-s3-eventbridge-wildcard-sam":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":12,"deploy":14,"description":17,"extension":18,"framework":19,"gitHub":20,"highlight":6,"introBox":26,"language":33,"level":34,"meta":35,"patternArch":36,"resources":55,"s3URL":6,"services":6,"stem":66,"testing":67,"videoId":6,"__hash__":70},"patterns\u002Fpatterns\u002Fs3-eventbridge-wildcard-sam.json","Amazon S3 to Amazon SQS with Amazon EventBridge with wildcard pattern match rule",null,{"text":8},[9,10,11],"Delete the content of the Amazon S3 bucket","Delete the stack: \u003Ccode>sam delete\u003C\u002Fcode>.","See the GitHub repo for detailed instruction.",[13],"content\u002Fcontributors\u002Fbiswanath-mukherjee.json",{"text":15},[16],"sam deploy --guided","The SAM template deploys an Amazon S3 bucket, an Amazon EventBridge rule with wildcard pattern match having target as an Amazon SQS queue.","json","AWS SAM",{"template":21},{"repoURL":22,"templateURL":23,"projectFolder":24,"templateFile":25},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fs3-eventbridge-wildcard-sam","serverless-patterns\u002Fs3-eventbridge-wildcard-sam","s3-eventbridge-wildcard-sam","template.yaml",{"headline":27,"text":28},"How it works",[29,30,31,32],"This template creates an S3 bucket that publishes events to Amazon EventBridge, an EventBridge rule with wildcard filter to select only the desired events from dynamic subfolders in Amazon S3 bucket and also an Amazon SQS queue as the target.","Once the stack is deployed, we will use upload-to-s3.sh to create dynamic subfolders based on current date and timestamp within the S3 bucket and upload new files. ","This will trigger multiple events, however, only the events that will match the wildcard pattern as per the EventBridge rule, will be selected and a message will be sent to the SQS queue.","We will inspect the messages from the SQS queue to validate the same.","YAML","200",{},{"icon1":37,"icon2":42,"icon3":45,"line1":49,"line2":53},{"x":38,"y":39,"service":40,"label":41},20,50,"s3","Amazon S3",{"x":39,"y":39,"service":43,"label":44},"eventbridge","Amazon EventBridge",{"x":46,"y":39,"service":47,"label":48},80,"sqs","Amazon SQS",{"from":50,"to":51,"label":52},"icon1","icon2","",{"from":51,"to":54,"label":52},"icon3",{"bullets":56},[57,60,63],{"text":58,"link":59},"Amazon EventBridge User Guide","https:\u002F\u002Fdocs.aws.amazon.com\u002Feventbridge\u002Flatest\u002Fuserguide\u002Feb-event-patterns-content-based-filtering.html#eb-filtering-wildcard-matching",{"text":61,"link":62},"Filtering events in Amazon EventBridge with wildcard pattern matching","https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Fcompute\u002Ffiltering-events-in-amazon-eventbridge-with-wildcard-pattern-matching\u002F",{"text":64,"link":65},"Amazon S3 Event Notifications with EventBridge","https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonS3\u002Flatest\u002Fuserguide\u002FEventBridge.html","patterns\u002Fs3-eventbridge-wildcard-sam",{"text":68},[69],"See the GitHub repo for detailed testing instructions.","6Xr1uQdr86XrlTFoPm2Fr5V8RPh8R1UzNecu1TgInQ4",1779273338560]