Skip to content
v2.278.0

JobExecutionsRetryConfigProperty Struct ​

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.CfnJobTemplate.JobExecutionsRetryConfigProperty = {
  retryCriteriaList: [{
    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.CfnJobTemplate.JobExecutionsRetryConfigProperty(
    retry_criteria_list=[iot.CfnJobTemplate.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()
        .retryCriteriaList(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 {
    RetryCriteriaList = 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{
	RetryCriteriaList: []interface{}{
		&RetryCriteriaProperty{
			FailureType: jsii.String("failureType"),
			NumberOfRetries: jsii.Number(123),
		},
	},
}

Properties ​

retryCriteriaListoptionalIResolvable | IResolvable | CfnJobTemplate.RetryCriteriaProperty[]retry_criteria_listoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, RetryCriteriaProperty]]]retryCriteriaListoptionalIResolvableRetryCriteriaListoptionalIResolvableRetryCriteriaListoptionalinterface{} #
The list of criteria that determines how many retries are allowed for each failure type for a job.