Amazon EventBridge Scheduler to start StepFunctions execution on a schedule

EventBridge Scheduler → Step Functions

Simple pattern that starts a StepFunctions execution every 5 minutes using Amazon EventBridge Scheduler and CDK.

An EventBridge Scheduler is created that start execution of StepFunctions workflow every 5 minutes using a cron expression.
Along with a schedule, the CDK stack creates the stepfunctions statemachine.

< Back to all patterns

GitHub icon Download this pattern (.zip)

GitHub icon View this pattern on GitHub


Clone repo

git clone https://github.com/aws-samples/serverless-patterns/cd serverless-patterns/eventbridge-schedule-stepfunctions-cdk

Deploy

cdk deploy


Testing

See the README in the GitHub repo for detailed testing instructions.

Cleanup

Delete the stack: cdk destroy.

Created by:

Harun Hasdal

Harun Hasdal

Senior Solutions Architect @ AWS. Serverless advocate.

Follow on LinkedIn