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 the health check policy for a virtual node's listener.

Inheritance Hierarchy

System.Object
  Amazon.AppMesh.Model.HealthCheckPolicy

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

Syntax

C#
public class HealthCheckPolicy

The HealthCheckPolicy type exposes the following members

Constructors

NameDescription
Public Method HealthCheckPolicy()

Properties

NameTypeDescription
Public Property HealthyThreshold System.Int32

Gets and sets the property HealthyThreshold.

The number of consecutive successful health checks that must occur before declaring listener healthy.

Public Property IntervalMillis System.Int64

Gets and sets the property IntervalMillis.

The time period in milliseconds between each health check execution.

Public Property Path System.String

Gets and sets the property Path.

The destination path for the health check request. This value is only used if the specified protocol is HTTP or HTTP/2. For any other protocol, this value is ignored.

Public Property Port System.Int32

Gets and sets the property Port.

The destination port for the health check request. This port must match the port defined in the PortMapping for the listener.

Public Property Protocol Amazon.AppMesh.PortProtocol

Gets and sets the property Protocol.

The protocol for the health check request. If you specify grpc, then your service must conform to the GRPC Health Checking Protocol.

Public Property TimeoutMillis System.Int64

Gets and sets the property TimeoutMillis.

The amount of time to wait when receiving a response from the health check, in milliseconds.

Public Property UnhealthyThreshold System.Int32

Gets and sets the property UnhealthyThreshold.

The number of consecutive failed health checks that must occur before declaring a virtual node unhealthy.

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