interface FlexibleTimeWindowProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Scheduler.CfnSchedule.FlexibleTimeWindowProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsscheduler#CfnSchedule_FlexibleTimeWindowProperty |
Java | software.amazon.awscdk.services.scheduler.CfnSchedule.FlexibleTimeWindowProperty |
Python | aws_cdk.aws_scheduler.CfnSchedule.FlexibleTimeWindowProperty |
TypeScript | aws-cdk-lib » aws_scheduler » CfnSchedule » FlexibleTimeWindowProperty |
Allows you to configure a time window during which EventBridge Scheduler invokes the schedule.
Example
// 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
Name | Type | Description |
---|---|---|
mode | string | Determines whether the schedule is invoked within a flexible time window. |
maximum | number | The maximum time window during which a schedule can be invoked. |
mode
Type:
string
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"
maximumWindowInMinutes?
Type:
number
(optional)
The maximum time window during which a schedule can be invoked.
Minimum : 1
Maximum : 1440