ResponseHeadersPolicyReferrerPolicy
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
Contents
- Override
-
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.Type: Boolean
Required: Yes
- ReferrerPolicy
-
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. Type: String
Valid Values:
no-referrer | no-referrer-when-downgrade | origin | origin-when-cross-origin | same-origin | strict-origin | strict-origin-when-cross-origin | unsafe-url
Required: Yes
-
See Also
For more information about using this API in one of the language-specific Amazon SDKs, see the following: