AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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.

Inheritance Hierarchy

System.Object
  Amazon.AppMesh.Model.GrpcRetryPolicy

Namespace: Amazon.AppMesh.Model
Assembly: AWSSDK.AppMesh.dll
Version: 3.x.y.z

Syntax

C#
public class GrpcRetryPolicy

The GrpcRetryPolicy type exposes the following members

Constructors

NameDescription
Public Method GrpcRetryPolicy()

Properties

NameTypeDescription
Public Property GrpcRetryEvents System.Collections.Generic.List<System.String>

Gets and sets the property GrpcRetryEvents.

Specify at least one of the valid values.

Public Property HttpRetryEvents System.Collections.Generic.List<System.String>

Gets and sets the property HttpRetryEvents.

Specify at least one of the following values.

  • server-error – HTTP status codes 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, and 511

  • gateway-error – HTTP status codes 502, 503, and 504

  • client-error – HTTP status code 409

  • stream-error – Retry on refused stream

Public Property MaxRetries System.Int64

Gets and sets the property MaxRetries.

The maximum number of retry attempts.

Public Property PerRetryTimeout Amazon.AppMesh.Model.Duration

Gets and sets the property PerRetryTimeout.

The timeout for each retry attempt.

Public Property TcpRetryEvents System.Collections.Generic.List<System.String>

Gets and sets the property TcpRetryEvents.

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

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5