interface BatchRetryStrategyProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Pipes.CfnPipe.BatchRetryStrategyProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awspipes#CfnPipe_BatchRetryStrategyProperty |
Java | software.amazon.awscdk.services.pipes.CfnPipe.BatchRetryStrategyProperty |
Python | aws_cdk.aws_pipes.CfnPipe.BatchRetryStrategyProperty |
TypeScript | aws-cdk-lib » aws_pipes » CfnPipe » BatchRetryStrategyProperty |
The retry strategy that's associated with a job.
For more information, see Automated job retries in the AWS Batch User Guide .
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_pipes as pipes } from 'aws-cdk-lib';
const batchRetryStrategyProperty: pipes.CfnPipe.BatchRetryStrategyProperty = {
attempts: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| attempts? | number | The number of times to move a job to the RUNNABLE status. |
attempts?
Type:
number
(optional, default: 0)
The number of times to move a job to the RUNNABLE status.
If the value of attempts is greater than one, the job is retried on failure the same number of attempts as the value.

.NET
Go
Java
Python
TypeScript