Search code examples
pythonamazon-web-servicesaws-lambdainvoke

Is there a way to intentionally invoke lambda function multiple times using python script? How?


I used this for reference and my python script is as simple as one on this page https://www.sqlshack.com/calling-an-aws-lambda-function-from-another-lambda-function/


Solution

  • This is resolved by using range and sleep function of python. So, I already knows that I can invoke lambda but I want to do it at least 5 times every 5minutes. So, I used range to repeat action 5 times and sleep to set 1minute interval per run.