Skip to content
v2.275.0

FlexibleTimeWindowProperty Struct ​

Allows you to configure a time window during which EventBridge Scheduler invokes the schedule.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_scheduler as scheduler } from 'aws-cdk-lib';
const flexibleTimeWindowProperty: scheduler.CfnSchedule.FlexibleTimeWindowProperty = {
  mode: 'mode',

  // the properties below are optional
  maximumWindowInMinutes: 123,
};

Properties ​

maximumWindowInMinutesoptionalnumbermaximum_window_in_minutesoptionalint | floatmaximumWindowInMinutesoptionalNumberMaximumWindowInMinutesoptionaldoubleMaximumWindowInMinutesoptional*float64#
The maximum time window during which a schedule can be invoked.

Minimum : 1

Maximum : 1440

modestringmodestrmodeStringModestringMode*stringrequired#
Determines whether the schedule is invoked within a flexible time window.

You must use quotation marks when you specify this value in your JSON or YAML template.

Allowed Values : "OFF" | "FLEXIBLE"