Lambda Authorizer Context Response Size Limit

0

I’ve implemented a lambda authorizer for an HTTP API using the simple response format and it works great. I am passing some extra data via the $context that is handed off to the final lambda along with the accountID. The amount of data I want to pass is already growing so I wanted to know what the limits are. The most I could find is a payload size limit for uploads to API Gateway.

Is there a size limit on the lambda authorizer response?

kh
已提問 2 年前檢視次數 719 次
1 個回答
0
已接受的答案

Lambda has a limit of payload of 6MB (for sync calls, and 256kb for async) so in your case, as the context is added to the payload passed to the final lambda, the max size would be (6MB-(size payload from API gateway))

Miki
已回答 2 年前

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

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

回答問題指南