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

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

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

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

関連するコンテンツ