スキップしてコンテンツを表示

Cognito pre signup lambda timeout

0

Hi, I am trying to use pre-signup lambda for validation of user sign up. My lambda function will run more than 12s and not possible to optimize more than that. while testing through the hosted UI, I am experiencing lambda time out less than 5 to 7s (not sure provided approx.) is there any limitation on the service side of Cognito (or) is there any configuration that I possibly missed.

If it is service limitation how to proceed further and overcome the issue.

質問済み 5ヶ月前57ビュー
1回答
0
承認された回答

When Cognito invokes Lambda functions through these triggers, timeout is 5s. It is true for all the trigger types except for Custom Email Sender and Custom SMS Sender. This can be found in the documentation: https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-working-with-lambda-triggers.html#important-lambda-considerations

回答済み 5ヶ月前
AWS
エキスパート
レビュー済み 5ヶ月前
  • Is this the soft limit? if not, any documentations states work around for this kind of use case

  • Sam, as far as I know, it's not a soft limit...

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

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

関連するコンテンツ