Module Values.ContinuousDeploymentSingleHeaderConfigSource

This configuration determines which HTTP requests are sent to the staging distribution. If the HTTP request contains a header and value that matches what you specify here, the request is sent to the staging distribution. Otherwise the request is sent to the primary distribution.

Sourcetype nonrec t = {
  1. header : String_.t;
    (*

    The request header name that you want CloudFront to send to your staging distribution. The header must contain the prefix aws-cf-cd-.

    *)
  2. value : String_.t;
    (*

    The request header value.

    *)
}
Sourceval context_ : string
Sourceval make : header:String_.t -> value:String_.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `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