HealthCheckPolicy
import type { HealthCheckPolicy } from "https://aws-api.deno.dev/v0.3/services/appmesh.ts?docs=full";
An object that represents the health check policy for a virtual node's listener.
interface HealthCheckPolicy {
healthyThreshold: number;
intervalMillis: number;
path?: string | null;
port?: number | null;
protocol: PortProtocol;
timeoutMillis: number;
unhealthyThreshold: number;
}§Properties
§
healthyThreshold: number
[src]The number of consecutive successful health checks that must occur before declaring listener healthy.
§
path?: string | null
[src]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.
§
port?: number | null
[src]The destination port for the health check request. This port must match the port defined in the "PortMapping" for the listener.
§
protocol: PortProtocol
[src]The protocol for the health check request.
If you specify grpc
, then your service must conform to the GRPC Health Checking Protocol.