How to kill a lambda function in AWS?

0 votes
I have a lambda function running in my AWS that take almost 8mins. Now that function is malfunctioning and creating different results. Can someone help me as how can I kill the lambda function?
Mar 26, 2019 in AWS by boomer
4,972 views

2 answers to this question.

0 votes

You cannot kill a running lambda function. Though there is another way by which you can set concurrency limit to 0. This will stop it from starting any more executions.

$ aws lambda put-function-concurrency --function-name my-function --reserved-concurrent-executions 0
answered Mar 26, 2019 by Esha
0 votes
$ aws lambda put-function-concurrency --function-name my-function --reserved-concurrent-executions 0
answered Mar 28, 2019 by Shashank
• 1,370 points

Related Questions In AWS

0 votes
1 answer

How to check instance state and status via Lambda function in AWS?

Hi@akhtar, To do this task, you have to ...READ MORE

answered 19 hours ago in AWS by MD
• 8,510 points
18 views
0 votes
1 answer

How to setup an alarm when Lambda function fails in AWS?

Hi@akhtar, To create an Alarm for Lambda function, ...READ MORE

answered 15 hours ago in AWS by MD
• 8,510 points
2 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
+1 vote
1 answer
+1 vote
1 answer