interface RetryCriteriaProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.IoT.CfnJobTemplate.RetryCriteriaProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsiot#CfnJobTemplate_RetryCriteriaProperty |
Java | software.amazon.awscdk.services.iot.CfnJobTemplate.RetryCriteriaProperty |
Python | aws_cdk.aws_iot.CfnJobTemplate.RetryCriteriaProperty |
TypeScript | aws-cdk-lib » aws_iot » CfnJobTemplate » RetryCriteriaProperty |
The criteria that determines how many retries are allowed for each failure type for a job.
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 retryCriteriaProperty: iot.CfnJobTemplate.RetryCriteriaProperty = {
failureType: 'failureType',
numberOfRetries: 123,
};
Properties
Name | Type | Description |
---|---|---|
failure | string | The type of job execution failures that can initiate a job retry. |
number | number | The number of retries allowed for a failure type for the job. |
failureType?
Type:
string
(optional)
The type of job execution failures that can initiate a job retry.
numberOfRetries?
Type:
number
(optional)
The number of retries allowed for a failure type for the job.