Module Values.HealthCheckConfigSource

The health check configuration for a managed endpoint. Defines how the service probes instances in the Auto Scaling group to determine their health status.

Sourcetype nonrec t = {
  1. port : HealthCheckConfigPortInteger.t;
    (*

    The port to use for health check probes. Valid range is 80 to 65535.

    *)
  2. path : HealthCheckConfigPathString.t;
    (*

    The destination path for the health check request. Must start with /.

    *)
  3. protocol : Protocol.t option;
    (*

    The protocol to use for health check probes.

    *)
  4. timeoutMs : HealthCheckConfigTimeoutMsInteger.t option;
    (*

    The timeout for each health check probe, in milliseconds. Valid range is 100 to 5000.

    *)
  5. intervalSeconds : HealthCheckConfigIntervalSecondsInteger.t option;
    (*

    The interval between health check probes, in seconds. Valid range is 5 to 60.

    *)
  6. statusCodeMatcher : StatusCodeMatcher.t option;
    (*

    The expected HTTP status code or status code pattern from healthy instances. Supports a single code (for example, 200), a range (for example, 200-299), or a comma-separated list (for example, 200,204).

    *)
  7. healthyThresholdCount : HealthCheckConfigHealthyThresholdCountInteger.t option;
    (*

    The number of consecutive successful health checks required before an instance is considered healthy. Valid range is 2 to 10.

    *)
  8. unhealthyThresholdCount : HealthCheckConfigUnhealthyThresholdCountInteger.t option;
    (*

    The number of consecutive failed health checks required before an instance is considered unhealthy. Valid range is 2 to 10.

    *)
}
Sourceval context_ : string
Sourceval make : ?protocol:??? -> ?timeoutMs:??? -> ?intervalSeconds:??? -> ?statusCodeMatcher:??? -> ?healthyThresholdCount:??? -> ?unhealthyThresholdCount:??? -> port:HealthCheckConfigPortInteger.t -> path:HealthCheckConfigPathString.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of HealthCheckConfigPortInteger.t | `String of HealthCheckConfigPathString.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t