@Stability(value=Stable)
public static interface CfnRule.BatchRetryStrategyProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnRule.BatchRetryStrategyProperty.Builder
A builder for
CfnRule.BatchRetryStrategyProperty |
static class |
CfnRule.BatchRetryStrategyProperty.Jsii$Proxy
An implementation for
CfnRule.BatchRetryStrategyProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnRule.BatchRetryStrategyProperty.Builder |
builder() |
default Number |
getAttempts()
The number of times to attempt to retry, if the job fails.
|
@Stability(value=Stable) @Nullable default Number getAttempts()
Valid values are 1–10.
@Stability(value=Stable) static CfnRule.BatchRetryStrategyProperty.Builder builder()
Copyright © 2022. All rights reserved.