Payload size limit on API Gateway

0

A customer is using API gateway, Lambda, and DynamoDB to build an API. They need an image uploading function and expect to receive 100-1000 images in the range of 5-50MB in size. API Gateway has a "payload size" limit of 10MB. Is there a way for them to implement the file upload functionality on the API and not be restricted by the payload size limit? What workarounds have other customers implemented?

AWS
已提問 7 年前檢視次數 10637 次
1 個回答
-1
已接受的答案

Instead of posting the data directly to the API endpoint, they could implement their client to upload the image to S3 storage first and provide API Gateway a pointer to the bucket and key. If the operation can be asynchronous, you could use API Gateway to vend a signed URL for S3 to the client and use S3 notifications to handle the image processing via Lambda after the upload is completed.

AWS
專家
已回答 7 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南