3

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.

2
  • 1
    I'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 2 '18 at 11:13
  • @Tensibai It is scheduled.
    – Niklas R.
    Nov 2 '18 at 19:05
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.

4
  • and how to do so ?
    – Pierre.Vriens
    Nov 2 '18 at 16:41
  • 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 '20 at 15:20
  • Is there a way to do this enable/disable of trigger by any API/program? Jul 18 '20 at 6:02
  • ideally one could make it "sleep/inactive" with one click in the console. I didn't finy any such option whatsoever.
    – SAFEX
    Feb 7 at 8:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.