AWS CDK provides a function to add new SQS trigger (aka eventSource) to a lambda, addEventSource. But is there a way to get a hand on the existing eventSources that a Lambda might already have, in order to update or disable/enable them for example? Or by default, is there a way to delete the triggers so I can recreate them? Also open to other suggestions.
Thanks a lot
I looked into the documentation but didn't find methods that could help me