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.