EventBridge Scheduler

Manage EventBridge Schedules using Step Functions (Part 2)- with Wait State

Last week I composed an article with a sample project on how to manage one time schedules created by Amazon EventBridge Scheduler using StepFunctions. https://pubudu.dev/posts/manage-eventbridge-schedules-using-step-functions There I use StepFunctions callback pattern to wait for the schedule to run and then delete the schedule. In this post I will explain another way to create the schedule and delete it after the given time without the callback pattern, but using a wait state in the execution.

Manage EventBridge Schedules using Step Functions

AWS Step functions recently announced SDK support for another 35 services. Announcement: https://aws.amazon.com/about-aws/whats-new/2023/02/aws-step-functions-integration-35-services-emr-serverless This includes the support for EventBridge Scheduler as well. One time schedule is one of the great features supported by EventBridge Scheduler. As the name implies, it allows you to schedule a task just to run once at a given time. As at now ( February 2023) EventBridge Scheduler doesn’t have native functionality to know if the target task is successful or not.