I have a lambda function in aws that contains about 80 jobs- the jobs are triggered on a schedule by cloudwatch rules, and the lambda knows which job to run based on the parameters on those rules.
Some jobs require new cloudwatch rules to be created programatically, and others require old rules to be deleted.
Is there a way to create/delete the cloudwatch rules that trigger a lambda entirely from within that lambda?