Module Values.ConnectionDrainingSource

Information about the ConnectionDraining attribute.

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

    Specifies whether connection draining is enabled for the load balancer.

    *)
  2. timeout : ConnectionDrainingTimeout.t option;
    (*

    The maximum time, in seconds, to keep the existing connections open before deregistering the instances.

    *)
}
Sourceval context_ : string
Sourceval make : ?timeout:??? -> enabled:ConnectionDrainingEnabled.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of ConnectionDrainingEnabled.t | `Integer of ConnectionDrainingTimeout.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