Interface CfnJobDefinition.RetryStrategyProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnJobDefinition.RetryStrategyProperty.Jsii$Proxy
Enclosing class:
CfnJobDefinition

@Stability(Stable) public static interface CfnJobDefinition.RetryStrategyProperty extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.batch.*;
 RetryStrategyProperty retryStrategyProperty = RetryStrategyProperty.builder()
         .attempts(123)
         .evaluateOnExit(List.of(EvaluateOnExitProperty.builder()
                 .action("action")
                 // the properties below are optional
                 .onExitCode("onExitCode")
                 .onReason("onReason")
                 .onStatusReason("onStatusReason")
                 .build()))
         .build();
 

See Also: