apigatewayv2 websocket- put authorizer context variable in $connect route when using IAM authorizer

0

Hello, I'm trying to use apigatewayv2 websocket.

Is there a way to save context variables at route:$connect when using Iam authorizer? My purpose is verify context variables in $connect route and continue using these variables in any other routes. (To restrict important variables like identityId...)

I know I could do this when using lambda authorizer, with lambda output {context: <any>}. But when I'm trying to use Iam authorizer, I could not find how to do it.

回答なし

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

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

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

関連するコンテンツ