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?

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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠