Interface CfnRule.RetryPolicyProperty

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

@Stability(Stable) public static interface CfnRule.RetryPolicyProperty extends software.amazon.jsii.JsiiSerializable
A RetryPolicy object that includes information about the retry policy settings.

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();
 
  • Method Details

    • getMaximumEventAgeInSeconds

      @Stability(Stable) @Nullable default Number getMaximumEventAgeInSeconds()
      The maximum amount of time, in seconds, to continue to make retry attempts.
    • getMaximumRetryAttempts

      @Stability(Stable) @Nullable default Number getMaximumRetryAttempts()
      The maximum number of retry attempts to make before the request fails.

      Retry attempts continue until either the maximum number of attempts is made or until the duration of the MaximumEventAgeInSeconds is met.

    • builder

      @Stability(Stable) static CfnRule.RetryPolicyProperty.Builder builder()
      Returns:
      a CfnRule.RetryPolicyProperty.Builder of CfnRule.RetryPolicyProperty