https://plugins.jenkins.io/aws-lambda/

The plugin has a bug where it will fail for Lambda that takes more than 1 minute to run.

Reference: https://github.com/XT-i/aws-lambda-jenkins-plugin/issues/95

Solution:

Explore Lambda alternatives such as AWS Step Functions