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.

질문됨 일 년 전782회 조회
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
전문가
답변함 일 년 전
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
답변함 일 년 전
profile pictureAWS
전문가
검토됨 일 년 전

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

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

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

관련 콘텐츠