interface TimeoutConfigProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.IoT.CfnJobTemplate.TimeoutConfigProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsiot#CfnJobTemplate_TimeoutConfigProperty |
![]() | software.amazon.awscdk.services.iot.CfnJobTemplate.TimeoutConfigProperty |
![]() | aws_cdk.aws_iot.CfnJobTemplate.TimeoutConfigProperty |
![]() | aws-cdk-lib » aws_iot » CfnJobTemplate » TimeoutConfigProperty |
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
.
Example
// 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,
};
Properties
Name | Type | Description |
---|---|---|
in | number | Specifies the amount of time, in minutes, this device has to finish execution of this job. |
inProgressTimeoutInMinutes
Type:
number
Specifies the amount of time, in minutes, this device has to finish execution of this job.
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.