跳至內容

Time out invoke command lambda

0

I am working with AWS Lambda. Can you tell me what the maximum timeout duration for InvokeCommand is for versions 2 and 3?

已提問 2 年前檢視次數 779 次

2 個答案
1

I think you are referring to the Nodejs SDK timeout. This can actually be configured using the httpConfig.timeout parameter in V2 and NodeHttpHandler options. You can find more information about using it in both versions here.

AWS
專家

已回答 2 年前

0

In the documentation the maximum duration for Lambda runtime is stated as 900 seconds (15 minutes).

Version 2 and 3 of what?

專家

已回答 2 年前

專家

已審閱 2 年前

  • No, the invokeCommand timeout for version 2 is 120s, right? And for version 3, I haven't found the related documentation.

  • Yes, I have Lambda A calling InvokeCommand to Lambda B written in Node.js. Lambda B takes 250 seconds to complete, and Lambda A waits but reports a timeout after 120 seconds. This happens in version 2, but in version 3, it doesn't happen.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。