Interface CfnRoute.HttpRetryPolicyProperty

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

@Stability(Stable) public static interface CfnRoute.HttpRetryPolicyProperty extends software.amazon.jsii.JsiiSerializable
An object that represents a retry policy.

Specify at least one value for at least one of the types of RetryEvents , a value for maxRetries , and a value for perRetryTimeout . Both server-error and gateway-error under httpRetryEvents include the Envoy reset policy. For more information on the reset policy, see the Envoy documentation .

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.appmesh.*;
 HttpRetryPolicyProperty httpRetryPolicyProperty = HttpRetryPolicyProperty.builder()
         .maxRetries(123)
         .perRetryTimeout(DurationProperty.builder()
                 .unit("unit")
                 .value(123)
                 .build())
         // the properties below are optional
         .httpRetryEvents(List.of("httpRetryEvents"))
         .tcpRetryEvents(List.of("tcpRetryEvents"))
         .build();
 

See Also: