Module Values.HealthCheckConfigSource

Describes the health check configuration of a target group. Health check configurations aren't used for target groups of type LAMBDA or ALB.

Sourcetype nonrec t = {
  1. enabled : Boolean.t option;
    (*

    Indicates whether health checking is enabled.

    *)
  2. protocol : TargetGroupProtocol.t option;
    (*

    The protocol used when performing health checks on targets. The possible protocols are HTTP and HTTPS. The default is HTTP.

    *)
  3. protocolVersion : HealthCheckProtocolVersion.t option;
    (*

    The protocol version used when performing health checks on targets. The possible protocol versions are HTTP1 and HTTP2.

    *)
  4. port : HealthCheckPort.t option;
    (*

    The port used when performing health checks on targets. The default setting is the port that a target receives traffic on.

    *)
  5. path : HealthCheckPath.t option;
    (*

    The destination for health checks on the targets. If the protocol version is HTTP/1.1 or HTTP/2, specify a valid URI (for example, /path?query). The default path is /. Health checks are not supported if the protocol version is gRPC, however, you can choose HTTP/1.1 or HTTP/2 and specify a valid URI.

    *)
  6. healthCheckIntervalSeconds : HealthCheckIntervalSeconds.t option;
    (*

    The approximate amount of time, in seconds, between health checks of an individual target. The range is 5–300 seconds. The default is 30 seconds.

    *)
  7. healthCheckTimeoutSeconds : HealthCheckTimeoutSeconds.t option;
    (*

    The amount of time, in seconds, to wait before reporting a target as unhealthy. The range is 1–120 seconds. The default is 5 seconds.

    *)
  8. healthyThresholdCount : HealthyThresholdCount.t option;
    (*

    The number of consecutive successful health checks required before considering an unhealthy target healthy. The range is 2–10. The default is 5.

    *)
  9. unhealthyThresholdCount : UnhealthyThresholdCount.t option;
    (*

    The number of consecutive failed health checks required before considering a target unhealthy. The range is 2–10. The default is 2.

    *)
  10. matcher : Matcher.t option;
    (*

    The codes to use when checking for a successful response from a target.

    *)
}
Sourceval make : ?enabled:??? -> ?protocol:??? -> ?protocolVersion:??? -> ?port:??? -> ?path:??? -> ?healthCheckIntervalSeconds:??? -> ?healthCheckTimeoutSeconds:??? -> ?healthyThresholdCount:??? -> ?unhealthyThresholdCount:??? -> ?matcher:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `Integer of HealthCheckPort.t | `String of HealthCheckPath.t | `Structure of (string * [> `String of HttpCodeMatcher.t ]) list ]) 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