'How to trigger AWS lambda functions manually which is already scheduled using event bridge rules

I am using event bridge to trigger a lambda function at 8 everyday to perform some ETL operations. At times i receive requests to trigger the lambda manually ondemand. How can i achieve that using the same lambda function.



Solution 1:[1]

There are many ways to run the Lambda on demand like running it in the AWS Console, connecting it to an API Gateway and triggering it from the API Gateway etc.

But the easiest way is to use Lambda URLs

It will give you an URL that you can envoke that will run the Lambda.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Tobie van der Merwe