Interface CfnVirtualNodePropsMixin.IHealthCheckProperty
An object that represents the health check policy for a virtual node's listener.
Namespace: Amazon.CDK.Mixins.Preview.AWS.AppMesh.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public interface CfnVirtualNodePropsMixin.IHealthCheckProperty
Syntax (vb)
Public Interface CfnVirtualNodePropsMixin.IHealthCheckProperty
Remarks
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.Mixins.Preview.AWS.AppMesh.Mixins;
var healthCheckProperty = new HealthCheckProperty {
HealthyThreshold = 123,
IntervalMillis = 123,
Path = "path",
Port = 123,
Protocol = "protocol",
TimeoutMillis = 123,
UnhealthyThreshold = 123
};
Synopsis
Properties
| HealthyThreshold | The number of consecutive successful health checks that must occur before declaring listener healthy. |
| IntervalMillis | The time period in milliseconds between each health check execution. |
| Path | The destination path for the health check request. |
| Port | The destination port for the health check request. |
| Protocol | The protocol for the health check request. |
| TimeoutMillis | The amount of time to wait when receiving a response from the health check, in milliseconds. |
| UnhealthyThreshold | The number of consecutive failed health checks that must occur before declaring a virtual node unhealthy. |
Properties
HealthyThreshold
The number of consecutive successful health checks that must occur before declaring listener healthy.
double? HealthyThreshold { get; }
Property Value
Remarks
IntervalMillis
The time period in milliseconds between each health check execution.
double? IntervalMillis { get; }
Property Value
Remarks
Path
The destination path for the health check request.
string? Path { get; }
Property Value
Remarks
This value is only used if the specified protocol is HTTP or HTTP/2. For any other protocol, this value is ignored.
Port
The destination port for the health check request.
double? Port { get; }
Property Value
Remarks
This port must match the port defined in the PortMapping for the listener.
Protocol
The protocol for the health check request.
string? Protocol { get; }
Property Value
Remarks
If you specify grpc , then your service must conform to the GRPC Health Checking Protocol .
TimeoutMillis
The amount of time to wait when receiving a response from the health check, in milliseconds.
double? TimeoutMillis { get; }
Property Value
Remarks
UnhealthyThreshold
The number of consecutive failed health checks that must occur before declaring a virtual node unhealthy.
double? UnhealthyThreshold { get; }