1 回答
- 最新
- 投票最多
- 评论最多
1
You have 3 main options:
- Use REST API (v1) which has direct integration with S3. Note that API Gateway has a 10 MB payload size limit.
- Use a Lambda function to proxy the request to S3. Note that Lambda has a 6 MB payload size limit.
- I think the preferred option, generate a pre-signed URL for the S3 object and download it directly from S3 to the client.
Thanks. I decided to do it with #3 but then I added a CloudFront in front of it, it's pretty clean!