10 likes
3 comments
did you tried to use EventBridge scheduler for job ? It's more flexible
I have done it previously with the EventBridge Scheduler and am planning on writing a separate blog post on using the scheduler for some more advanced use cases.
However, for something like scheduling a Lambda to run once per day at the same time or a recurring timeframe, I felt EventBridge Rules was a better fit because it's simpler to implement and also there are some restraints on the Scheduler still I believe:
- It's not fully implemented in the CDK so you'd need to use the SDK inside a Lambda function adding to the complexity
- It's only available in a small subset of regions where Rules are available in every region I believe.
Saying this I am still planning on doing a Scheduler post in the future, so keep an eye out for that. 😃
Coner Murphy Cool, thanks for your reply. check it out this blog post for EventBridge scheduler and CDK. I am not sure any specific constraint but this post may help you..