FlexibleTimeWindowProperty Struct
Allows you to configure a time window during which EventBridge Scheduler invokes the schedule.
| Source | |
|---|---|
| Type last changed |
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,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_scheduler as scheduler
flexible_time_window_property = scheduler.CfnSchedule.FlexibleTimeWindowProperty(
mode="mode",
# the properties below are optional
maximum_window_in_minutes=123
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.scheduler.*;
FlexibleTimeWindowProperty flexibleTimeWindowProperty = FlexibleTimeWindowProperty.builder()
.mode("mode")
// the properties below are optional
.maximumWindowInMinutes(123)
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Scheduler;
var flexibleTimeWindowProperty = new FlexibleTimeWindowProperty {
Mode = "mode",
// the properties below are optional
MaximumWindowInMinutes = 123
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
flexibleTimeWindowProperty := &FlexibleTimeWindowProperty{
Mode: jsii.String("mode"),
// the properties below are optional
MaximumWindowInMinutes: jsii.Number(123),
}
Properties
maximumWindowInMinutesoptionalnumbermaximum_window_in_minutesoptionalint | floatmaximumWindowInMinutesoptionalNumberMaximumWindowInMinutesoptionaldoubleMaximumWindowInMinutesoptional*float64 #The maximum time window during which a schedule can be invoked.
Minimum : 1
Maximum : 1440
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"