Show / Hide Table of Contents

Interface CfnRoute.IHttpRetryPolicyProperty

An object that represents a retry policy.

Namespace: Amazon.CDK.AWS.AppMesh
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnRoute.IHttpRetryPolicyProperty
Syntax (vb)
Public Interface CfnRoute.IHttpRetryPolicyProperty
Remarks

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 .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-httpretrypolicy.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.AppMesh;

             var httpRetryPolicyProperty = new HttpRetryPolicyProperty {
                 MaxRetries = 123,
                 PerRetryTimeout = new DurationProperty {
                     Unit = "unit",
                     Value = 123
                 },

                 // the properties below are optional
                 HttpRetryEvents = new [] { "httpRetryEvents" },
                 TcpRetryEvents = new [] { "tcpRetryEvents" }
             };

Synopsis

Properties

HttpRetryEvents

Specify at least one of the following values.

MaxRetries

The maximum number of retry attempts.

PerRetryTimeout

The timeout for each retry attempt.

TcpRetryEvents

Specify a valid value.

Properties

HttpRetryEvents

Specify at least one of the following values.

string[]? HttpRetryEvents { get; }
Property Value

string[]

Remarks

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-httpretrypolicy.html#cfn-appmesh-route-httpretrypolicy-httpretryevents

    MaxRetries

    The maximum number of retry attempts.

    double MaxRetries { get; }
    Property Value

    double

    Remarks

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-httpretrypolicy.html#cfn-appmesh-route-httpretrypolicy-maxretries

    PerRetryTimeout

    The timeout for each retry attempt.

    object PerRetryTimeout { get; }
    Property Value

    object

    Remarks

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-httpretrypolicy.html#cfn-appmesh-route-httpretrypolicy-perretrytimeout

    TcpRetryEvents

    Specify a valid value.

    string[]? TcpRetryEvents { get; }
    Property Value

    string[]

    Remarks

    The event occurs before any processing of a request has started and is encountered when the upstream is temporarily or permanently unavailable.

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-httpretrypolicy.html#cfn-appmesh-route-httpretrypolicy-tcpretryevents

    Back to top Generated by DocFX