TimeoutConfigProperty Struct
Specifies the amount of time each device has to finish its execution of the job.
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 .
| 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_iot as iot } from 'aws-cdk-lib';
const timeoutConfigProperty: iot.CfnJobTemplate.TimeoutConfigProperty = {
inProgressTimeoutInMinutes: 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_iot as iot
timeout_config_property = iot.CfnJobTemplate.TimeoutConfigProperty(
in_progress_timeout_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.iot.*;
TimeoutConfigProperty timeoutConfigProperty = TimeoutConfigProperty.builder()
.inProgressTimeoutInMinutes(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.IoT;
var timeoutConfigProperty = new TimeoutConfigProperty {
InProgressTimeoutInMinutes = 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"
timeoutConfigProperty := &TimeoutConfigProperty{
InProgressTimeoutInMinutes: jsii.Number(123),
}
Properties
inProgressTimeoutInMinutesnumberin_progress_timeout_in_minutesint | floatinProgressTimeoutInMinutesNumberInProgressTimeoutInMinutesdoubleInProgressTimeoutInMinutes*float64 required #Specifies the amount of time, in minutes, this device has to finish execution of this job.
notes
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.