Module Values.OriginGroupFailoverCriteriaSource

A complex data type that includes information about the failover criteria for an origin group, including the status codes for which CloudFront will failover from the primary origin to the second origin.

Sourcetype nonrec t = {
  1. statusCodes : StatusCodes.t;
    (*

    The status codes that, when returned from the primary origin, will trigger CloudFront to failover to the second origin.

    *)
}
Sourceval context_ : string
Sourceval make : statusCodes:StatusCodes.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `Integer of Integer.t | `List of [> `Integer of Integer.t ] list ]) 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