@Stability(value=Stable)
public static interface CfnRule.RetryPolicyProperty
extends software.amazon.jsii.JsiiSerializable
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.*;
RetryPolicyProperty retryPolicyProperty = RetryPolicyProperty.builder()
.maximumEventAgeInSeconds(123)
.maximumRetryAttempts(123)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnRule.RetryPolicyProperty.Builder
A builder for
CfnRule.RetryPolicyProperty |
static class |
CfnRule.RetryPolicyProperty.Jsii$Proxy
An implementation for
CfnRule.RetryPolicyProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnRule.RetryPolicyProperty.Builder |
builder() |
default Number |
getMaximumEventAgeInSeconds()
The maximum amount of time, in seconds, to continue to make retry attempts.
|
default Number |
getMaximumRetryAttempts()
The maximum number of retry attempts to make before the request fails.
|
@Stability(value=Stable) @Nullable default Number getMaximumEventAgeInSeconds()
@Stability(value=Stable) @Nullable default Number getMaximumRetryAttempts()
Retry attempts continue until either the maximum number of attempts is made or until the duration of the MaximumEventAgeInSeconds is met.
@Stability(value=Stable) static CfnRule.RetryPolicyProperty.Builder builder()
Copyright © 2022. All rights reserved.