Module Values.ResponseHeadersPolicyReferrerPolicySource

Determines whether CloudFront includes the Referrer-Policy HTTP response header and the header's value. For more information about the Referrer-Policy HTTP response header, see Referrer-Policy in the MDN Web Docs.

Sourcetype nonrec t = {
  1. override : Boolean.t;
    (*

    A Boolean that determines whether CloudFront overrides the Referrer-Policy HTTP response header received from the origin with the one specified in this response headers policy.

    *)
  2. referrerPolicy : ReferrerPolicyList.t;
    (*

    The value of the Referrer-Policy HTTP response header. Valid values are: no-referrer no-referrer-when-downgrade origin origin-when-cross-origin same-origin strict-origin strict-origin-when-cross-origin unsafe-url For more information about these values, see Referrer-Policy in the MDN Web Docs.

    *)
}
Sourceval context_ : string
Sourceval make : override:Boolean.t -> referrerPolicy:ReferrerPolicyList.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `Enum of string ]) 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