Request payload limit with AWS API Gateway

醉酒当歌 提交于 2019-11-30 19:31:16
Vijayanath Viswanathan

Maximum payload to API gateway is 10 MB and maximum payload for Lambda is 6 MB, which cannot be increased.

Please see API gateway payload limits here

Please see Lambda payload limits here

But there is an alternative way (a work around) to achieve the same by uploading data to an S3 bucket if your size is more that 10 MB. Please read the below article for details (Unofficial document):

https://sookocheff.com/post/api/uploading-large-payloads-through-api-gateway/

The API Gateway has a request size limit of 10MB.

Amazon API Gateway Limits, Pricing and Known Issues

The more important limit in your scenario is the lambda size limit which is only 6 MB.

AWS Lambda Limits

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!