Module Values.OriginCustomHeaderSource

A complex type that contains HeaderName and HeaderValue elements, if any, for this distribution.

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

    The name of a header that you want CloudFront to send to your origin. For more information, see Adding Custom Headers to Origin Requests in the Amazon CloudFront Developer Guide.

    *)
  2. headerValue : SensitiveStringType.t;
    (*

    The value for the header that you specified in the HeaderName field.

    *)
}
Sourceval context_ : string
Sourceval make : headerName:String_.t -> headerValue:SensitiveStringType.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