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 |
Synopsis
- data ResponseHeadersPolicyStrictTransportSecurity = ResponseHeadersPolicyStrictTransportSecurity' {}
- newResponseHeadersPolicyStrictTransportSecurity :: Bool -> Int -> ResponseHeadersPolicyStrictTransportSecurity
- responseHeadersPolicyStrictTransportSecurity_includeSubdomains :: Lens' ResponseHeadersPolicyStrictTransportSecurity (Maybe Bool)
- responseHeadersPolicyStrictTransportSecurity_preload :: Lens' ResponseHeadersPolicyStrictTransportSecurity (Maybe Bool)
- responseHeadersPolicyStrictTransportSecurity_override :: Lens' ResponseHeadersPolicyStrictTransportSecurity Bool
- responseHeadersPolicyStrictTransportSecurity_accessControlMaxAgeSec :: Lens' ResponseHeadersPolicyStrictTransportSecurity Int
Documentation
data ResponseHeadersPolicyStrictTransportSecurity Source #
Determines whether CloudFront includes the Strict-Transport-Security
HTTP response header and the header's value.
For more information about the Strict-Transport-Security
HTTP response
header, see
Strict-Transport-Security
in the MDN Web Docs.
See: newResponseHeadersPolicyStrictTransportSecurity
smart constructor.
ResponseHeadersPolicyStrictTransportSecurity' | |
|
Instances
newResponseHeadersPolicyStrictTransportSecurity Source #
:: Bool | |
-> Int |
|
-> ResponseHeadersPolicyStrictTransportSecurity |
Create a value of ResponseHeadersPolicyStrictTransportSecurity
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:includeSubdomains:ResponseHeadersPolicyStrictTransportSecurity'
, responseHeadersPolicyStrictTransportSecurity_includeSubdomains
- A Boolean that determines whether CloudFront includes the
includeSubDomains
directive in the Strict-Transport-Security
HTTP
response header.
$sel:preload:ResponseHeadersPolicyStrictTransportSecurity'
, responseHeadersPolicyStrictTransportSecurity_preload
- A Boolean that determines whether CloudFront includes the preload
directive in the Strict-Transport-Security
HTTP response header.
$sel:override:ResponseHeadersPolicyStrictTransportSecurity'
, responseHeadersPolicyStrictTransportSecurity_override
- A Boolean that determines whether CloudFront overrides the
Strict-Transport-Security
HTTP response header received from the
origin with the one specified in this response headers policy.
$sel:accessControlMaxAgeSec:ResponseHeadersPolicyStrictTransportSecurity'
, responseHeadersPolicyStrictTransportSecurity_accessControlMaxAgeSec
- A number that CloudFront uses as the value for the max-age
directive
in the Strict-Transport-Security
HTTP response header.
responseHeadersPolicyStrictTransportSecurity_includeSubdomains :: Lens' ResponseHeadersPolicyStrictTransportSecurity (Maybe Bool) Source #
A Boolean that determines whether CloudFront includes the
includeSubDomains
directive in the Strict-Transport-Security
HTTP
response header.
responseHeadersPolicyStrictTransportSecurity_preload :: Lens' ResponseHeadersPolicyStrictTransportSecurity (Maybe Bool) Source #
A Boolean that determines whether CloudFront includes the preload
directive in the Strict-Transport-Security
HTTP response header.
responseHeadersPolicyStrictTransportSecurity_override :: Lens' ResponseHeadersPolicyStrictTransportSecurity Bool Source #
A Boolean that determines whether CloudFront overrides the
Strict-Transport-Security
HTTP response header received from the
origin with the one specified in this response headers policy.
responseHeadersPolicyStrictTransportSecurity_accessControlMaxAgeSec :: Lens' ResponseHeadersPolicyStrictTransportSecurity Int Source #
A number that CloudFront uses as the value for the max-age
directive
in the Strict-Transport-Security
HTTP response header.