Skip to content
v2.278.0

JobExecutionsRetryConfigProperty ​

Struct External

The configuration that determines how many retries are allowed for each failure type for a job.

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 jobExecutionsRetryConfigProperty: iot.CfnJob.JobExecutionsRetryConfigProperty = {
  criteriaList: [{
    failureType: 'failureType',
    numberOfRetries: 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

job_executions_retry_config_property = iot.CfnJob.JobExecutionsRetryConfigProperty(
    criteria_list=[iot.CfnJob.RetryCriteriaProperty(
        failure_type="failureType",
        number_of_retries=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.*;

JobExecutionsRetryConfigProperty jobExecutionsRetryConfigProperty = JobExecutionsRetryConfigProperty.builder()
        .criteriaList(List.of(RetryCriteriaProperty.builder()
                .failureType("failureType")
                .numberOfRetries(123)
                .build()))
        .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 jobExecutionsRetryConfigProperty = new JobExecutionsRetryConfigProperty {
    CriteriaList = new [] { new RetryCriteriaProperty {
        FailureType = "failureType",
        NumberOfRetries = 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"

jobExecutionsRetryConfigProperty := &JobExecutionsRetryConfigProperty{
	CriteriaList: []interface{}{
		&RetryCriteriaProperty{
			FailureType: jsii.String("failureType"),
			NumberOfRetries: jsii.Number(123),
		},
	},
}

Properties ​

criteriaListIResolvable | IResolvable | CfnJob.RetryCriteriaProperty[]criteria_listtyping.Union[IResolvable, typing.List[typing.Union[IResolvable, RetryCriteriaProperty]]]criteriaListIResolvableCriteriaListIResolvableCriteriaListinterface{} required #
The list of criteria that determines how many retries are allowed for each failure type for a job.