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.

feita há um ano783 visualizações
2 Respostas
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
ESPECIALISTA
respondido há um ano
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
respondido há um ano
profile pictureAWS
ESPECIALISTA
avaliado há um ano

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas