| 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.ResponseHeadersPolicyFrameOptions
Description
Synopsis
- data ResponseHeadersPolicyFrameOptions = ResponseHeadersPolicyFrameOptions' {}
- newResponseHeadersPolicyFrameOptions :: Bool -> FrameOptionsList -> ResponseHeadersPolicyFrameOptions
- responseHeadersPolicyFrameOptions_override :: Lens' ResponseHeadersPolicyFrameOptions Bool
- responseHeadersPolicyFrameOptions_frameOption :: Lens' ResponseHeadersPolicyFrameOptions FrameOptionsList
Documentation
data ResponseHeadersPolicyFrameOptions Source #
Determines whether CloudFront includes the X-Frame-Options HTTP
response header and the header's value.
For more information about the X-Frame-Options HTTP response header,
see
X-Frame-Options
in the MDN Web Docs.
See: newResponseHeadersPolicyFrameOptions smart constructor.
Constructors
| ResponseHeadersPolicyFrameOptions' | |
Fields
| |
Instances
newResponseHeadersPolicyFrameOptions Source #
Arguments
| :: Bool | |
| -> FrameOptionsList | |
| -> ResponseHeadersPolicyFrameOptions |
Create a value of ResponseHeadersPolicyFrameOptions 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:ResponseHeadersPolicyFrameOptions', responseHeadersPolicyFrameOptions_override - A Boolean that determines whether CloudFront overrides the
X-Frame-Options HTTP response header received from the origin with the
one specified in this response headers policy.
$sel:frameOption:ResponseHeadersPolicyFrameOptions', responseHeadersPolicyFrameOptions_frameOption - The value of the X-Frame-Options HTTP response header. Valid values
are DENY and SAMEORIGIN.
For more information about these values, see X-Frame-Options in the MDN Web Docs.
responseHeadersPolicyFrameOptions_override :: Lens' ResponseHeadersPolicyFrameOptions Bool Source #
A Boolean that determines whether CloudFront overrides the
X-Frame-Options HTTP response header received from the origin with the
one specified in this response headers policy.
responseHeadersPolicyFrameOptions_frameOption :: Lens' ResponseHeadersPolicyFrameOptions FrameOptionsList Source #
The value of the X-Frame-Options HTTP response header. Valid values
are DENY and SAMEORIGIN.
For more information about these values, see X-Frame-Options in the MDN Web Docs.