dattaprasad mundada
dattaprasad mundada

Reputation: 51

Is there is any way to pass the timeout value for aws lambda function programmatically?

I am working on getting snapshot API using aws lambda. I wan to pass the timeout value for lambda function depends on number of snapshots to be taken. So, Is there is any way to pass the timeout value to aws function runtime?

Upvotes: 0

Views: 896

Answers (1)

Mark B
Mark B

Reputation: 200910

As far as I'm aware you cannot set the timeout function dynamically for each invocation. Is there a reason you aren't just setting the timeout high, and relying on the function to properly exit when it is finished?

Upvotes: 1

Related Questions