amazonka-cloudfront-2.0: Amazon CloudFront SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.CloudFront.Types.ResponseHeadersPolicySecurityHeadersConfig

Description

 
Synopsis

Documentation

data ResponseHeadersPolicySecurityHeadersConfig Source #

A configuration for a set of security-related HTTP response headers. CloudFront adds these headers to HTTP responses that it sends for requests that match a cache behavior associated with this response headers policy.

See: newResponseHeadersPolicySecurityHeadersConfig smart constructor.

Constructors

ResponseHeadersPolicySecurityHeadersConfig' 

Fields

Instances

Instances details
FromXML ResponseHeadersPolicySecurityHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicySecurityHeadersConfig

ToXML ResponseHeadersPolicySecurityHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicySecurityHeadersConfig

Generic ResponseHeadersPolicySecurityHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicySecurityHeadersConfig

Read ResponseHeadersPolicySecurityHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicySecurityHeadersConfig

Show ResponseHeadersPolicySecurityHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicySecurityHeadersConfig

NFData ResponseHeadersPolicySecurityHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicySecurityHeadersConfig

Eq ResponseHeadersPolicySecurityHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicySecurityHeadersConfig

Hashable ResponseHeadersPolicySecurityHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicySecurityHeadersConfig

type Rep ResponseHeadersPolicySecurityHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicySecurityHeadersConfig

newResponseHeadersPolicySecurityHeadersConfig :: ResponseHeadersPolicySecurityHeadersConfig Source #

Create a value of ResponseHeadersPolicySecurityHeadersConfig 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:

ResponseHeadersPolicySecurityHeadersConfig, responseHeadersPolicySecurityHeadersConfig_contentSecurityPolicy - The policy directives and their values that CloudFront includes as values for the Content-Security-Policy HTTP response header.

For more information about the Content-Security-Policy HTTP response header, see Content-Security-Policy in the MDN Web Docs.

$sel:contentTypeOptions:ResponseHeadersPolicySecurityHeadersConfig', responseHeadersPolicySecurityHeadersConfig_contentTypeOptions - Determines whether CloudFront includes the X-Content-Type-Options HTTP response header with its value set to nosniff.

For more information about the X-Content-Type-Options HTTP response header, see X-Content-Type-Options in the MDN Web Docs.

$sel:frameOptions:ResponseHeadersPolicySecurityHeadersConfig', responseHeadersPolicySecurityHeadersConfig_frameOptions - 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.

ResponseHeadersPolicySecurityHeadersConfig, responseHeadersPolicySecurityHeadersConfig_referrerPolicy - 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.

$sel:strictTransportSecurity:ResponseHeadersPolicySecurityHeadersConfig', responseHeadersPolicySecurityHeadersConfig_strictTransportSecurity - 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.

$sel:xSSProtection:ResponseHeadersPolicySecurityHeadersConfig', responseHeadersPolicySecurityHeadersConfig_xSSProtection - Determines whether CloudFront includes the X-XSS-Protection HTTP response header and the header's value.

For more information about the X-XSS-Protection HTTP response header, see X-XSS-Protection in the MDN Web Docs.

responseHeadersPolicySecurityHeadersConfig_contentSecurityPolicy :: Lens' ResponseHeadersPolicySecurityHeadersConfig (Maybe ResponseHeadersPolicyContentSecurityPolicy) Source #

The policy directives and their values that CloudFront includes as values for the Content-Security-Policy HTTP response header.

For more information about the Content-Security-Policy HTTP response header, see Content-Security-Policy in the MDN Web Docs.

responseHeadersPolicySecurityHeadersConfig_contentTypeOptions :: Lens' ResponseHeadersPolicySecurityHeadersConfig (Maybe ResponseHeadersPolicyContentTypeOptions) Source #

Determines whether CloudFront includes the X-Content-Type-Options HTTP response header with its value set to nosniff.

For more information about the X-Content-Type-Options HTTP response header, see X-Content-Type-Options in the MDN Web Docs.

responseHeadersPolicySecurityHeadersConfig_frameOptions :: Lens' ResponseHeadersPolicySecurityHeadersConfig (Maybe 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.

responseHeadersPolicySecurityHeadersConfig_referrerPolicy :: Lens' ResponseHeadersPolicySecurityHeadersConfig (Maybe 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.

responseHeadersPolicySecurityHeadersConfig_strictTransportSecurity :: Lens' ResponseHeadersPolicySecurityHeadersConfig (Maybe 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.

responseHeadersPolicySecurityHeadersConfig_xSSProtection :: Lens' ResponseHeadersPolicySecurityHeadersConfig (Maybe ResponseHeadersPolicyXSSProtection) Source #

Determines whether CloudFront includes the X-XSS-Protection HTTP response header and the header's value.

For more information about the X-XSS-Protection HTTP response header, see X-XSS-Protection in the MDN Web Docs.