[{"data":1,"prerenderedAt":66},["ShallowReactive",2],{"pattern-apigw-lambda-s3-sam-java":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":32,"level":33,"meta":34,"patternArch":35,"resources":53,"s3URL":6,"services":6,"stem":61,"testing":62,"videoId":6,"__hash__":65},"patterns\u002Fpatterns\u002Fapigw-lambda-s3-sam-java.json","Upload file up to 5GB to Amazon S3 bucket using presigned URL",null,{"text":8},[9,10],"Delete the Amazon S3 bucket content: \u003Ccode>aws s3 rm s3:\u002F\u002F{MyS3BucketName} --recursive\u003C\u002Fcode>","Delete the stack: \u003Ccode>sam delete\u003C\u002Fcode>.",[12],"content\u002Fcontributors\u002Fbiswanath-mukherjee.json",{"text":14},[15,16],"mvn clean package","sam deploy --guided","This project deploys Amazon API Gateway with AWS Lambda integration. The Java based Lambda function generates presigned S3 URL.","json","AWS SAM",{"template":21},{"repoURL":22,"templateURL":23,"projectFolder":24,"templateFile":25},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fapigw-lambda-s3-sam-java","serverless-patterns\u002Fapigw-lambda-s3-sam-java","apigw-lambda-s3-sam-java","template.yaml",{"headline":27,"text":28},"How it works",[29,30,31],"Amazon API Gateway receives the HTTP POST request containing the file name to be uploaded","AWS Lambda is triggered by the API Gateway, this java based function generates Amazon S3 presigned URL.","A Java program is used to upload a file to the Amazon S3 bucket using the pre-signed URL","Java","200",{},{"icon1":36,"icon2":41,"icon3":44,"line1":48,"line2":51},{"x":37,"y":38,"service":39,"label":40},20,50,"apigw","Amazon API Gateway",{"x":38,"y":38,"service":42,"label":43},"lambda","AWS Lambda",{"x":45,"y":38,"service":46,"label":47},80,"s3","Amazon S3",{"from":49,"to":50},"icon1","icon2",{"from":50,"to":52},"icon3",{"bullets":54},[55,58],{"text":56,"link":57},"Create a presigned URL for Amazon S3 using an AWS SDK","https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonS3\u002Flatest\u002Fuserguide\u002Fexample_s3_Scenario_PresignedUrl_section.html",{"text":59,"link":60},"Uploading objects with presigned URLs","https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonS3\u002Flatest\u002Fuserguide\u002FPresignedUrlUploadObject.html","patterns\u002Fapigw-lambda-s3-sam-java",{"text":63},[64],"See the GitHub repo for detailed testing instructions.","ME1sGyAKSPArUzCInOhX3QJQm82cAhv26EkrCCHqQlw",1778927705314]