Sign in
Log inSign up
Coner Murphy

10 likes

3 comments

Rakesh
Rakesh
Apr 17, 2023

did you tried to use EventBridge scheduler for job ? It's more flexible

1
·
·2 replies
Coner Murphy
Coner Murphy
Author
·Apr 17, 2023

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:

  1. It's not fully implemented in the CDK so you'd need to use the SDK inside a Lambda function adding to the complexity
  2. 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. 😃

·
Rakesh
Rakesh
Apr 17, 2023

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..

awsmantra.com/eventbridge-schedule-to-step…

·