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?

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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ