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.
-
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– TensibaiNov 2, 2018 at 11:13
-
@Tensibai It is scheduled.– Niklas RosencrantzNov 2, 2018 at 19:05
Add a comment
|
1 Answer
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.
-
-
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 Mar 13, 2020 at 15:20
-
Is there a way to do this enable/disable of trigger by any API/program? Jul 18, 2020 at 6:02
-
ideally one could make it "sleep/inactive" with one click in the console. I didn't finy any such option whatsoever.– safexFeb 7, 2021 at 8:03