aws-cdk: Events: cannot specify timezone for Schedule cron

Describe the feature

In the console, when creating a Rule with an Event schedule, I have the option to use UTC or ‘Local time zone’.

I can’t seem to find a way of specifying this in CDK. It would be helpful if this is possible.

Here’s my current implementation - if there’s something I can add to this, that would be great.

const rule = new Rule(this.parent, `${this.stackName}-Rule-${ruleName}`, {
      ruleName: `${this.stackName}-${ruleName}`,
      schedule: Schedule.cron({
        minute: "0",
        hour: "8,20",
      }),
    });

Use Case

For timezones such as Europe/London, currently if I want the schedule to be consistent all year around I need to manually update this field in the console after creating the Rule via CDK.

Proposed Solution

An additional field, timeZone or similar.

const rule = new Rule(this.parent, ${this.stackName}-Rule-${ruleName}, { ruleName: ${this.stackName}-${ruleName}, schedule: Schedule.cron({ minute: “0”, hour: “8,20”, timeZone: “Europe/London” }), });

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

CDK version used

2.32.0

Environment details (OS name and version, etc.)

MacOS Monterey 12.4

About this issue

  • Original URL
  • State: open
  • Created 4 years ago
  • Reactions: 45
  • Comments: 20 (2 by maintainers)

Commits related to this issue

Most upvoted comments

All timezones in CDK are always UTC.

Supposedly, EventBridge supports timezones, so there just needs to be a way to configure that timezone with CDK: https://aws.amazon.com/blogs/compute/introducing-amazon-eventbridge-scheduler/

This issue has received a significant amount of attention so we are automatically upgrading its priority. A member of the community will see the re-prioritization and provide an update on the issue.

Apparently this exists in the aws_cdk.aws_autoscaling.CfnScheduledAction construct. It’d be nice to have it in the aws_cdk.aws_events.Schedule too.

Any updates on this?

This really ought to be supported. It’s a shame and is frustrating when CDK lags behind features offered in the Console.

Hey I would like to continue activity on this ticket, I think CDK constructs should always have full feature parity with any other interface of the same service.

I am also on Python CDK, so I would like to see it added there as well.

Was looking for this functionality as well. any workaround?

We wouldn’t need AWS events to actually support timezone to support this. It could be achieved by creating multiple rules that trigger depending on the time of year. An implementation similar to this: https://www.npmjs.com/package/serverless-local-schedule

It appears that the Scheduler construct library is now generally available and it supports changing the schedule time zone. https://aws.amazon.com/about-aws/whats-new/2025/04/aws-cdk-construct-library-eventbridge-scheduler/

Thanks for the implementation of Timezone in ApplicationAutoscaling. But is that any plan of the implementation for the timezone in EventBridge as the title mention?

I have noticed that timezone support appears to be implemented in the JavaScript version of the AWS CDK, as detailed here: AWS CDK Scheduler library for JavaScript.

However, upon reviewing the Python AWS CDK documentation, particularly the Schedule class, I did not find any references to timezone support for EventBridge cron expressions.

Could you please provide information on whether there are plans to introduce timezone handling in EventBridge for the Python version of the AWS CDK? Additionally, if such functionality is already in development or available, I would greatly appreciate guidance on accessing and utilizing it.