Module Values.ContainerServiceHealthCheckConfigSource

Describes the health check configuration of an Amazon Lightsail container service.

Sourcetype nonrec t = {
  1. healthyThreshold : Integer.t option;
    (*

    The number of consecutive health checks successes required before moving the container to the Healthy state. The default value is 2.

    *)
  2. unhealthyThreshold : Integer.t option;
    (*

    The number of consecutive health check failures required before moving the container to the Unhealthy state. The default value is 2.

    *)
  3. timeoutSeconds : Integer.t option;
    (*

    The amount of time, in seconds, during which no response means a failed health check. You can specify between 2 and 60 seconds. The default value is 2.

    *)
  4. intervalSeconds : Integer.t option;
    (*

    The approximate interval, in seconds, between health checks of an individual container. You can specify between 5 and 300 seconds. The default value is 5.

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

    The path on the container on which to perform the health check. The default value is /.

    *)
  6. successCodes : String_.t option;
    (*

    The HTTP codes to use when checking for a successful response from a container. You can specify values between 200 and 499. You can specify multiple values (for example, 200,202) or a range of values (for example, 200-299).

    *)
}
Sourceval make : ?healthyThreshold:??? -> ?unhealthyThreshold:??? -> ?timeoutSeconds:??? -> ?intervalSeconds:??? -> ?path:??? -> ?successCodes:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of Integer.t | `String of String_.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