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