[{"data":1,"prerenderedAt":60},["ShallowReactive",2],{"pattern-s3-lambda-container-sam":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":11,"deploy":13,"description":17,"extension":18,"framework":19,"gitHub":20,"highlight":6,"introBox":26,"language":30,"level":31,"meta":32,"patternArch":33,"resources":47,"s3URL":6,"services":6,"stem":55,"testing":56,"videoId":6,"__hash__":59},"patterns\u002Fpatterns\u002Fs3-lambda-container-sam.json","Deploy AWS Lambda functions with container image",null,{"text":8},[9,10],"Delete the Amazon S3 email bucket content: \u003Ccode>aws s3 rm s3:\u002F\u002F{SampleFunction} --recursive --region {your-region}\u003C\u002Fcode>","Delete the resources deployed to your AWS account via AWS SAM: \u003Ccode>sam delete\u003C\u002Fcode>",[12],"content\u002Fcontributors\u002Fbiswanath-mukherjee.json",{"text":14},[15,16],"bash build.sh","sam deploy -g","This sample project demonstrates how to deploy an AWS Lambda function with a container image that gets triggered when a new object is created in an Amazon S3 bucket","json","AWS SAM",{"template":21},{"repoURL":22,"templateURL":23,"projectFolder":24,"templateFile":25},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fs3-lambda-container-sam","serverless-patterns\u002Fs3-lambda-container-sam","s3-lambda-container-sam","template.yaml",{"headline":27,"text":28},"How it works",[29],"When a file is uploaded to a specific Amazon S3 bucket. The create object event from S3 triggers the AWS Lambda function. The Lambda function uses a container image instead of a zip file. The function reads the content of the file uploaded into the S3 bucket.","Python","200",{},{"icon1":34,"icon2":39,"line1":43},{"x":35,"y":36,"service":37,"label":38},20,50,"s3","Amazon S3",{"x":40,"y":36,"service":41,"label":42},80,"lambda","AWS Lambda",{"from":44,"to":45,"label":46},"icon1","icon2","",{"bullets":48},[49,52],{"text":50,"link":51},"Working with Lambda container images","https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Fimages-create.html",{"text":53,"link":54},"Deploy Python Lambda functions with container images","https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Fpython-image.html","patterns\u002Fs3-lambda-container-sam",{"text":57},[58],"See the GitHub repo for detailed testing instructions.","eXISGX-toz-j-ziIPdkcJevzOECE1FblfMBD8wIcUbI",1779618906347]