Is there a way to undeploy or deactivate an AWS Lambda or must I either implement it myself or delete and later redeploy it to achieve the desired state? What I would like is similar to just "undeploying it" so that it can be deployed again later.
Asked
Active
Viewed 9,164 times
3
-
1I'm unsure I get you, the lambda being deployed doesn't mean it will run unless scheduled or triggered by an event, so if you just want it to sit there you should just remove the event firing it – Tensibai Nov 02 '18 at 11:13
-
@Tensibai It is scheduled. – Niklas Rosencrantz Nov 02 '18 at 19:05
1 Answers
3
you can change the trigger working process and rewrite and re schedule the process. Which the way you want. it will work.
Hope it helps.
Dinesh Chowdary
- 46
- 2
-
-
you should be able to find it under Lambda->function->(your lambda name) now under Designer tab you should see triggers. Click on one and under it you should see a disabled sliding button – user1655072 Mar 13 '20 at 15:20
-
Is there a way to do this enable/disable of trigger by any API/program? – Sankalp Kotewar Jul 18 '20 at 06:02
-
ideally one could make it "sleep/inactive" with one click in the console. I didn't finy any such option whatsoever. – safex Feb 07 '21 at 08:03