Is there a way to increase AWS Connect module "Invoke AWS Lambda function" timeout?

0

We were troubleshooting an issue for the customer and encountered the flow wherein the call is routed to the error branch due to the timeout.

The Invoke AWS Lambda function timeout is maxed out at 8 seconds but the query to the API takes about 11 seconds. timeout max 8 secs

The Lambda is already set at 10mins, but it seems the timeout in connect takes precedence. lambda timeout

Is there a way to increase the timeout in the AWS Connect module "Invoke AWS Lambda function" to more than 8 seconds?

  • Definitely look at how to speed up your Lambda. Remember that in telephony any pause grater than 5 seconds can confuse the caller and make them think the call hung up.

質問済み 1年前783ビュー
2回答
0

Hi,

you are correct, it is not possible to extend the timeout of 8 seconds for invoking lambda functions associated with AW Connect, as also this guide shows in a screenshot: https://docs.aws.amazon.com/connect/latest/adminguide/invoke-lambda-function-block.html.

You could try to decrease lambda execution with mechanisms such as Snapstart (if Java based) or Provisioned concurrency.

Hope it helps ;)

profile picture
エキスパート
回答済み 1年前
0

For processing which may take more than 8 seconds, you can do your work asynchronously. For more details see the blog at https://aws.amazon.com/blogs/contact-center/use-asynchronous-lambda-functions-with-amazon-connect/

AWS
回答済み 1年前
profile pictureAWS
エキスパート
レビュー済み 1年前

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

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

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

関連するコンテンツ