| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CloudFront.Types.ResponseHeadersPolicyReferrerPolicy
Description
Synopsis
- data ResponseHeadersPolicyReferrerPolicy = ResponseHeadersPolicyReferrerPolicy' {}
- newResponseHeadersPolicyReferrerPolicy :: Bool -> ReferrerPolicyList -> ResponseHeadersPolicyReferrerPolicy
- responseHeadersPolicyReferrerPolicy_override :: Lens' ResponseHeadersPolicyReferrerPolicy Bool
- responseHeadersPolicyReferrerPolicy_referrerPolicy :: Lens' ResponseHeadersPolicyReferrerPolicy ReferrerPolicyList
Documentation
data ResponseHeadersPolicyReferrerPolicy Source #
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.
See: newResponseHeadersPolicyReferrerPolicy smart constructor.
Constructors
| ResponseHeadersPolicyReferrerPolicy' | |
Fields
| |
Instances
newResponseHeadersPolicyReferrerPolicy Source #
Arguments
| :: Bool | |
| -> ReferrerPolicyList | |
| -> ResponseHeadersPolicyReferrerPolicy |
Create a value of ResponseHeadersPolicyReferrerPolicy with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:override:ResponseHeadersPolicyReferrerPolicy', responseHeadersPolicyReferrerPolicy_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.
$sel:referrerPolicy:ResponseHeadersPolicyReferrerPolicy', responseHeadersPolicyReferrerPolicy_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.
responseHeadersPolicyReferrerPolicy_override :: Lens' ResponseHeadersPolicyReferrerPolicy Bool Source #
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.
responseHeadersPolicyReferrerPolicy_referrerPolicy :: Lens' ResponseHeadersPolicyReferrerPolicy ReferrerPolicyList Source #
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.