Create One-time schedule with timezone support

CLI command that creates a one-time EventBridge schedule which has timezone support

CLI Command executes the EventBridge Scheduler API call which creates the one-time scheduler

Create One-time schedule with timezone support

aws scheduler create-schedule \
  --name "one-time-schedule" \
  --schedule-expression "at(<TIME IN ISO 8601; EX - 2026-03-11T10:21:00>)" \
  --schedule-expression-timezone "<EXACT TIMEZONE VALUE; EX - Asia/Kolkata>" \
  --flexible-time-window '{"Mode": "OFF"}' \
  --target '{
    "Arn": "<TARGET ARN; EX - LAMBDA FUNCTION ARN>",
    "RoleArn": "<ARN FOR THE IAM ROLE WHICH HAS A TRUST RELATIONSHIP WITH scheduler.amazonaws.com AND HAS TARGET PERMISSIONS>"
  }' \
  --action-after-completion "NONE"
                                


Created by:

Rajil Paloth

Rajil Paloth

ProServe Delivery Consultant at AWS

Follow on LinkedIn