[{"data":1,"prerenderedAt":65},["ShallowReactive",2],{"pattern-s3-lambda-resizing-dotnet":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":11,"deploy":13,"description":17,"extension":18,"framework":19,"gitHub":20,"highlight":26,"introBox":27,"language":31,"level":32,"meta":33,"patternArch":34,"resources":51,"s3URL":6,"services":59,"stem":60,"testing":61,"videoId":6,"__hash__":64},"patterns\u002Fpatterns\u002Fs3-lambda-resizing-dotnet.json","Resizing images uploaded to Amazon S3 with AWS Lambda (.NET)",null,{"text":8},[9,10],"Empty the S3 bucket","sam delete --stack-name STACK_NAME",[12],"content\u002Fcontributors\u002Fgarrett-johnson.json",{"text":14},[15,16],"sam build","sam deploy --guided","Automate the creation of thumbnail images from new images on Amazon S3 leveraging Lambda and .NET","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-resizing-dotnet","serverless-patterns\u002Fs3-lambda-resizing-dotnet","s3-lambda-resizing-dotnet","template.yaml","true",{"headline":28,"text":29},"How it works",[30],"This pattern deploys an Amazon S3 bucket for image hosting with an AWS Lambda function that gets invoked when new images are added to the bucket. The Lambda function uses .NET 6 to create a thumbnail of the image and save the thumbnail back to the same S3 bucket.",".NET","200",{},{"icon1":35,"icon2":40,"icon3":43,"line1":45,"line2":49},{"x":36,"y":37,"service":38,"label":39},20,50,"s3","Amazon S3",{"x":37,"y":37,"service":41,"label":42},"lambda","AWS Lambda",{"x":44,"y":37,"service":38,"label":39},80,{"from":46,"to":47,"label":48},"icon1","icon2","Object Created",{"from":47,"to":50},"icon3",{"bullets":52},[53,56],{"text":54,"link":55},"Using an Amazon S3 trigger to invoke a Lambda function","https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Fwith-s3-example.html",{"text":57,"link":58},"Building Lambda functions with C#","https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Flambda-csharp.html",{"from":38,"to":41},"patterns\u002Fs3-lambda-resizing-dotnet",{"text":62},[63],"See the GitHub repo readme for detailed testing instructions.","K3Zf5E_FPqXRbaDsXu8AXoYCD9KXoGdv_eKP11WlBek",1778846887397]