Module Values.ResponseHeadersPolicyCustomHeaderSource

An HTTP response header name and its value. CloudFront includes this header in HTTP responses that it sends for requests that match a cache behavior that's associated with this response headers policy.

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

    The HTTP response header name.

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

    The value for the HTTP response header.

    *)
  3. override : Boolean.t;
    (*

    A Boolean that determines whether CloudFront overrides a response header with the same name received from the origin with the header specified here.

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