Interface CfnSubscriber.RetryPolicyProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSubscriber.RetryPolicyProperty.Jsii$Proxy
- Enclosing class:
CfnSubscriber
@Stability(Stable)
public static interface CfnSubscriber.RetryPolicyProperty
extends software.amazon.jsii.JsiiSerializable
The retry policy for failed deliveries.
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.eventsv2.*;
RetryPolicyProperty retryPolicyProperty = RetryPolicyProperty.builder()
.maxEventAgeInSeconds(123)
.maxRetryAttempts(123)
.retryStrategy("retryStrategy")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnSubscriber.RetryPolicyPropertystatic final classAn implementation forCfnSubscriber.RetryPolicyProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMaxEventAgeInSeconds
The maximum age of an event in seconds, 60-86400 (24 hours).When an event reaches this age, retries stop; if OnFailureConfiguration is set, the event is delivered to that destination, otherwise it is dropped. The default is 300.
- See Also:
-
getMaxRetryAttempts
The maximum number of retry attempts, 0-185.When the attempts are exhausted, retries stop; if OnFailureConfiguration is set, the event is delivered to that destination, otherwise it is dropped. The default is 5.
- See Also:
-
getRetryStrategy
Which errors are retried.ALL retries all errors. The default is ALL.
- See Also:
-
builder
-