Skip to content
v2.278.0

SchedulingConfigProperty ​

Struct External

Specifies the date and time that a job will begin the rollout of the job document to all devices in the target group.

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 schedulingConfigProperty: iot.CfnJob.SchedulingConfigProperty = {
  endBehavior: 'endBehavior',
  endTime: 'endTime',
  maintenanceWindows: [{
    durationInMinutes: 123,
    startTime: 'startTime',
  }],
  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

scheduling_config_property = iot.CfnJob.SchedulingConfigProperty(
    end_behavior="endBehavior",
    end_time="endTime",
    maintenance_windows=[iot.CfnJob.MaintenanceWindowProperty(
        duration_in_minutes=123,
        start_time="startTime"
    )],
    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.*;

SchedulingConfigProperty schedulingConfigProperty = SchedulingConfigProperty.builder()
        .endBehavior("endBehavior")
        .endTime("endTime")
        .maintenanceWindows(List.of(MaintenanceWindowProperty.builder()
                .durationInMinutes(123)
                .startTime("startTime")
                .build()))
        .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 schedulingConfigProperty = new SchedulingConfigProperty {
    EndBehavior = "endBehavior",
    EndTime = "endTime",
    MaintenanceWindows = new [] { new MaintenanceWindowProperty {
        DurationInMinutes = 123,
        StartTime = "startTime"
    } },
    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"

schedulingConfigProperty := &SchedulingConfigProperty{
	EndBehavior: jsii.String("endBehavior"),
	EndTime: jsii.String("endTime"),
	MaintenanceWindows: []interface{}{
		&MaintenanceWindowProperty{
			DurationInMinutes: jsii.Number(123),
			StartTime: jsii.String("startTime"),
		},
	},
	StartTime: jsii.String("startTime"),
}

Properties ​

endBehavioroptionalstringend_behavioroptionalstrendBehavioroptionalStringEndBehavioroptionalstringEndBehavioroptional*string #
Specifies the end behavior for all job executions after a job reaches the selected endTime.
endTimeoptionalstringend_timeoptionalstrendTimeoptionalStringEndTimeoptionalstringEndTimeoptional*string #
The time a job will stop rollout of the job document to all devices in the target group for a job.
maintenanceWindowsoptionalIResolvable | IResolvable | CfnJob.MaintenanceWindowProperty[]maintenance_windowsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, MaintenanceWindowProperty]]]maintenanceWindowsoptionalIResolvableMaintenanceWindowsoptionalIResolvableMaintenanceWindowsoptionalinterface{} #
An optional configuration within the SchedulingConfig to setup a recurring maintenance window.
startTimeoptionalstringstart_timeoptionalstrstartTimeoptionalStringStartTimeoptionalstringStartTimeoptional*string #
The time a job will begin rollout of the job document to all devices in the target group for a job.