Interface CfnRule.BatchRetryStrategyProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRule.BatchRetryStrategyProperty.Jsii$Proxy
- Enclosing class:
CfnRule
@Stability(Stable)
public static interface CfnRule.BatchRetryStrategyProperty
extends software.amazon.jsii.JsiiSerializable
The retry strategy to use for failed jobs, if the target is an AWS Batch job.
If you specify a retry strategy here, it overrides the retry strategy defined in the job definition.
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.events.*; BatchRetryStrategyProperty batchRetryStrategyProperty = BatchRetryStrategyProperty.builder() .attempts(123) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnRule.BatchRetryStrategyProperty
static final class
An implementation forCfnRule.BatchRetryStrategyProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAttempts
The number of times to attempt to retry, if the job fails.Valid values are 1–10.
-
builder
-