Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

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.

§
intervalMillis: number
[src]

The time period in milliseconds between each health check execution.

§
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.

§

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

§
timeoutMillis: number
[src]

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

§
unhealthyThreshold: number
[src]

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