AWS - EventBridge Scheduler Enum
Last updated
Last updated
Learn & practice AWS Hacking:HackTricks Training AWS Red Team Expert (ARTE) Learn & practice GCP Hacking: HackTricks Training GCP Red Team Expert (GRTE)
Amazon EventBridge Scheduler is a fully managed, serverless scheduler designed to create, run, and manage tasks at scale. It enables you to schedule millions of tasks across over 270 AWS services and 6,000+ API operations, all from a central service. With built-in reliability and no infrastructure to manage, EventBridge Scheduler simplifies scheduling, reduces maintenance costs, and scales automatically to meet demand. You can configure cron or rate expressions for recurring schedules, set one-time invocations, and define flexible delivery windows with retry options, ensuring tasks are reliably delivered based on the availability of downstream targets.
There is an initial limit of 1,000,000 schedules per region per account. Even the official quotas page suggests, "It's recommended to delete one-time schedules once they've completed."
Types of Schedules in EventBridge Scheduler:
One-time schedules – Execute a task at a specific time, e.g., December 21st at 7 AM UTC.
Rate-based schedules – Set recurring tasks based on a frequency, e.g., every 2 hours.
Cron-based schedules – Set recurring tasks using a cron expression, e.g., every Friday at 4 PM.
Two Mechanisms for Handling Failed Events:
Retry Policy – Defines the number of retry attempts for a failed event and how long to keep it unprocessed before considering it a failure.
Dead-Letter Queue (DLQ) – A standard Amazon SQS queue where failed events are delivered after retries are exhausted. DLQs help in troubleshooting issues with your schedule or its downstream target.
There are 2 types of targets for a scheduler templated (docs), which are commonly used and AWS made them easier to configure, and universal (docs), which can be used to call any AWS API.
Templated targets support the following services:
CodeBuild – StartBuild
CodePipeline – StartPipelineExecution
Amazon ECS – RunTask
Parameters: EcsParameters
EventBridge – PutEvents
Parameters: EventBridgeParameters
Amazon Inspector – StartAssessmentRun
Kinesis – PutRecord
Parameters: KinesisParameters
Firehose – PutRecord
Lambda – Invoke
SageMaker – StartPipelineExecution
Parameters: SageMakerPipelineParameters
Amazon SNS – Publish
Amazon SQS – SendMessage
Parameters: SqsParameters
Step Functions – StartExecution
In the following page, you can check how to abuse eventbridge scheduler permissions to escalate privileges:
Learn & practice AWS Hacking:HackTricks Training AWS Red Team Expert (ARTE) Learn & practice GCP Hacking: HackTricks Training GCP Red Team Expert (GRTE)