aws-cdk-lib.aws_iot.CfnJobTemplate.RetryCriteriaProperty

interface RetryCriteriaProperty

LanguageType name
.NETAmazon.CDK.AWS.IoT.CfnJobTemplate.RetryCriteriaProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsiot#CfnJobTemplate_RetryCriteriaProperty
Javasoftware.amazon.awscdk.services.iot.CfnJobTemplate.RetryCriteriaProperty
Pythonaws_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

NameTypeDescription
failureType?stringThe type of job execution failures that can initiate a job retry.
numberOfRetries?numberThe 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.