AWSIoTSchedulingConfig
Objective-C
@interface AWSIoTSchedulingConfig
Swift
class AWSIoTSchedulingConfig
Specifies the date and time that a job will begin the rollout of the job document to all devices in the target group. Additionally, you can specify the end behavior for each job execution when it reaches the scheduled end time.
-
Specifies the end behavior for all job executions after a job reaches the selected
endTime
. IfendTime
is not selected when creating the job, thenendBehavior
does not apply.Declaration
Objective-C
@property (nonatomic) AWSIoTJobEndBehavior endBehavior;
Swift
var endBehavior: AWSIoTJobEndBehavior { get set }
-
The time a job will stop rollout of the job document to all devices in the target group for a job. The
endTime
must take place no later than two years from the current time and be scheduled a minimum of thirty minutes from the current time. The minimum duration betweenstartTime
andendTime
is thirty minutes. The maximum duration betweenstartTime
andendTime
is two years. The date and time format for theendTime
is YYYY-MM-DD for the date and HH:MM for the time.For more information on the syntax for
endTime
when using an API command or the Command Line Interface, see Timestamp.Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable endTime;
Swift
var endTime: String? { get set }
-
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.Declaration
Objective-C
@property (nonatomic, strong) NSArray<AWSIoTMaintenanceWindow *> *_Nullable maintenanceWindows;
Swift
var maintenanceWindows: [AWSIoTMaintenanceWindow]? { get set }
-
The time a job will begin rollout of the job document to all devices in the target group for a job. The
startTime
can be scheduled up to a year in advance and must be scheduled a minimum of thirty minutes from the current time. The date and time format for thestartTime
is YYYY-MM-DD for the date and HH:MM for the time.For more information on the syntax for
startTime
when using an API command or the Command Line Interface, see Timestamp.Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable startTime;
Swift
var startTime: String? { get set }