We have already python lambda function running with AWS eventbridge which was configured manually using console to trigger lambda on 9 PM everyday. Currently, we also have rule arn for eventbridge.
Plan:
So, We are migrating everything to serverless framework to automate the whole lambda deployment and configuring eventbridge using serverless.yml to invoke the lambda on 9 pm.
Can anyone please advise how do I do that ?
Sample code:
functions:
myFunction:
handler: index.handler
events:
- eventBridge:
--------
--------
--------