Skip to content
v2.278.0

MaintenanceWindowProperty Struct ​

An optional configuration within the SchedulingConfig to setup a recurring maintenance window with a predetermined start time and duration for the rollout of a job document to all devices in a target group for a job.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iot as iot } from 'aws-cdk-lib';
const maintenanceWindowProperty: iot.CfnJobTemplate.MaintenanceWindowProperty = {
  durationInMinutes: 123,
  startTime: 'startTime',
};
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_iot as iot

maintenance_window_property = iot.CfnJobTemplate.MaintenanceWindowProperty(
    duration_in_minutes=123,
    start_time="startTime"
)
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.iot.*;

MaintenanceWindowProperty maintenanceWindowProperty = MaintenanceWindowProperty.builder()
        .durationInMinutes(123)
        .startTime("startTime")
        .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.IoT;

var maintenanceWindowProperty = new MaintenanceWindowProperty {
    DurationInMinutes = 123,
    StartTime = "startTime"
};
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"

maintenanceWindowProperty := &MaintenanceWindowProperty{
	DurationInMinutes: jsii.Number(123),
	StartTime: jsii.String("startTime"),
}

Properties ​

durationInMinutesoptionalnumberduration_in_minutesoptionalint | floatdurationInMinutesoptionalNumberDurationInMinutesoptionaldoubleDurationInMinutesoptional*float64 #
Displays the duration of the next maintenance window.
startTimeoptionalstringstart_timeoptionalstrstartTimeoptionalStringStartTimeoptionalstringStartTimeoptional*string #
Displays the start time of the next maintenance window.