@Stability(value=Stable)
public static interface CfnJobTemplate.TimeoutConfigProperty
extends software.amazon.jsii.JsiiSerializable
A timer is started when the job execution status is set to IN_PROGRESS . If the job execution status is not set to another terminal state before the timer expires, it will be automatically set to TIMED_OUT .
Example:
// 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.*;
TimeoutConfigProperty timeoutConfigProperty = TimeoutConfigProperty.builder()
.inProgressTimeoutInMinutes(123)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnJobTemplate.TimeoutConfigProperty.Builder
A builder for
CfnJobTemplate.TimeoutConfigProperty |
static class |
CfnJobTemplate.TimeoutConfigProperty.Jsii$Proxy
An implementation for
CfnJobTemplate.TimeoutConfigProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnJobTemplate.TimeoutConfigProperty.Builder |
builder() |
Number |
getInProgressTimeoutInMinutes()
Specifies the amount of time, in minutes, this device has to finish execution of this job.
|
@Stability(value=Stable) @NotNull Number getInProgressTimeoutInMinutes()
The timeout interval can be anywhere between 1 minute and 7 days (1 to 10080 minutes). The in progress timer can't be updated and will apply to all job executions for the job. Whenever a job execution remains in the IN_PROGRESS status for longer than this interval, the job execution will fail and switch to the terminal TIMED_OUT status.
@Stability(value=Stable) static CfnJobTemplate.TimeoutConfigProperty.Builder builder()
Copyright © 2023. All rights reserved.