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

HealthCheckConfiguration

import type { HealthCheckConfiguration } from "https://aws-api.deno.dev/v0.4/services/apprunner.ts?docs=full";

Describes the settings for the health check that App Runner performs to monitor the health of a service.

interface HealthCheckConfiguration {
HealthyThreshold?: number | null;
Interval?: number | null;
Path?: string | null;
Protocol?: HealthCheckProtocol | null;
Timeout?: number | null;
UnhealthyThreshold?: number | null;
}

§Properties

§
HealthyThreshold?: number | null
[src]

The number of consecutive checks that must succeed before App Runner decides that the service is healthy.

Default: 1

§
Interval?: number | null
[src]

The time interval, in seconds, between health checks.

Default: 5

§
Path?: string | null
[src]

The URL that health check requests are sent to.

Path is only applicable when you set Protocol to HTTP.

Default: "/"

§
Protocol?: HealthCheckProtocol | null
[src]

The IP protocol that App Runner uses to perform health checks for your service.

If you set Protocol to HTTP, App Runner sends health check requests to the HTTP path specified by Path.

Default: TCP

§
Timeout?: number | null
[src]

The time, in seconds, to wait for a health check response before deciding it failed.

Default: 2

§
UnhealthyThreshold?: number | null
[src]

The number of consecutive checks that must fail before App Runner decides that the service is unhealthy.

Default: 5