Amazon EventBridge scheduled invocation to AWS Batch

Amazon EventBridge → AWS Batch

Create an EventBridge event bus and route events to AWS Batch on a schedule.

The EventBridge rule specified in `template.yaml` uses the default event bus to schedule a trigger for AWS Batch. There are two ways to schedule the trigger - using a cron expression or a rate expression. The template has examples for both.
Please uncomment the one you want to use. The AWS Batch job is triggered based on the specified schedule.

< 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-scheduled-batch-sam

Deploy

sam deploy --guided


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

Delete the stack: sam delete.

Created by:

Biswanath Mukherjee

Biswanath Mukherjee

Sr. Solutions Architect working at AWS India.

Follow on LinkedIn