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
123 views

2 answers to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
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,430 points
93 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
588 views
0 votes
1 answer
0 votes
1 answer
+1 vote
1 answer
+1 vote
1 answer

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.