Values.OriginGroupSourceAn origin group includes two origins (a primary origin and a secondary origin to failover to) and a failover criteria that you specify. You create an origin group to support origin failover in CloudFront. When you create or update a distribution, you can specify the origin group instead of a single origin, and CloudFront will failover from the primary origin to the secondary origin under the failover conditions that you've chosen. Optionally, you can choose selection criteria for your origin group to specify how your origins are selected when your distribution routes viewer requests.
type nonrec t = {id : String_.t;The origin group's ID.
*)failoverCriteria : OriginGroupFailoverCriteria.t;A complex type that contains information about the failover criteria for an origin group.
*)members : OriginGroupMembers.t;A complex type that contains information about the origins in an origin group.
*)selectionCriteria : OriginGroupSelectionCriteria.t option;The selection criteria for the origin group. For more information, see Create an origin group in the Amazon CloudFront Developer Guide.
*)}val make :
?selectionCriteria:??? ->
id:String_.t ->
failoverCriteria:OriginGroupFailoverCriteria.t ->
members:OriginGroupMembers.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `String of String_.t
| `Structure of
(string
* [> `Integer of Integer.t
| `List of
[> `Structure of (string * [> `String of String_.t ]) list ]
list
| `Structure of
(string
* [> `Integer of Integer.t
| `List of [> `Integer of Integer.t ] list ])
list ])
list ])
list ]