[{"data":1,"prerenderedAt":80},["ShallowReactive",2],{"pattern-terraform-s3-lambda":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":29,"level":30,"meta":31,"patternArch":32,"resources":46,"s3URL":6,"services":6,"stem":75,"testing":76,"videoId":6,"__hash__":79},"patterns\u002Fpatterns\u002Fterraform-s3-lambda.json","Amazon S3 bucket notifications to AWS Lambda",null,{"text":8},[9],"terraform destroy",[11],"content\u002Fcontributors\u002Fanton-babenko.json",{"text":13},[14,15],"terraform init","terraform apply --auto-approve","This pattern creates an Amazon S3 bucket, AWS Lambda function and setup S3 bucket event notifications to trigger the Lambda function.","json","Terraform (with modules)",{"template":20},{"repoURL":21,"templateURL":22,"projectFolder":23,"templateFile":24},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fterraform-s3-lambda","serverless-patterns\u002Fterraform-s3-lambda","terraform-s3-lambda","main.tf",{"headline":26,"text":27},"How it works",[16,28],"In this example, notifications like `s3:ObjectCreated:*` with filter prefix (`data\u002F`) and suffix (`.json`) are configured.","Python","200",{},{"icon1":33,"icon2":38,"line1":42},{"x":34,"y":35,"service":36,"label":37},20,50,"s3","S3",{"x":39,"y":35,"service":40,"label":41},80,"lambda","AWS Lambda",{"from":43,"to":44,"label":45},"icon1","icon2","",{"bullets":47},[48,51,54,57,60,63,66,69,72],{"text":49,"link":50},"Terraform AWS Lambda module","https:\u002F\u002Fgithub.com\u002Fterraform-aws-modules\u002Fterraform-aws-lambda",{"text":52,"link":53},"Terraform AWS Lambda examples","https:\u002F\u002Fgithub.com\u002Fterraform-aws-modules\u002Fterraform-aws-lambda\u002Ftree\u002Fmaster\u002Fexamples",{"text":55,"link":56},"Terraform AWS S3 bucket module","https:\u002F\u002Fgithub.com\u002Fterraform-aws-modules\u002Fterraform-aws-s3-bucket",{"text":58,"link":59},"Terraform AWS S3 bucket notification module","https:\u002F\u002Fgithub.com\u002Fterraform-aws-modules\u002Fterraform-aws-s3-bucket\u002Ftree\u002Fmaster\u002Fmodules\u002Fnotification",{"text":61,"link":62},"Terraform AWS S3 bucket examples","https:\u002F\u002Fgithub.com\u002Fterraform-aws-modules\u002Fterraform-aws-s3-bucket\u002Ftree\u002Fmaster\u002Fexamples",{"text":64,"link":65},"Terraform AWS S3 bucket notification examples","https:\u002F\u002Fgithub.com\u002Fterraform-aws-modules\u002Fterraform-aws-s3-bucket\u002Ftree\u002Fmaster\u002Fexamples\u002Fnotification",{"text":67,"link":68},"Amazon S3 Event Notifications","https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonS3\u002Flatest\u002Fuserguide\u002FNotificationHowTo.html",{"text":70,"link":71},"Amazon S3 Developer Guide","https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonS3\u002Flatest\u002Fuserguide\u002FWelcome.html",{"text":73,"link":74},"AWS Lambda Developer Guide","https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Fwelcome.html","patterns\u002Fterraform-s3-lambda",{"text":77},[78],"See the GitHub repo for detailed testing instructions.","WBIrmeuoGf1bsnh_U9ybzVY8FHUtM64NlX877SYA9hk",1778927712020]