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 in AWS by boomer
260 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 by Esha
0 votes
$ aws lambda put-function-concurrency --function-name my-function --reserved-concurrent-executions 0
answered Mar 28 by Shashank
• 1,350 points

Related Questions In AWS

0 votes
1 answer

How to link AWS Lambda function to Amazon CloudWatch ?

In order to create Log Group and ...READ MORE

answered Jul 20, 2018 in AWS by datageek
• 2,440 points
118 views
0 votes
1 answer
0 votes
1 answer

How to skip headers when reading a CSV file in S3 and creating a table in AWS Athena?

This is a known deficiency. The best ...READ MORE

answered Sep 4, 2018 in AWS by Archana
• 4,090 points
745 views
0 votes
1 answer
0 votes
1 answer
+1 vote
1 answer
+1 vote
1 answer