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.ResponseHeadersPolicyStrictTransportSecurity

Description

 
Synopsis

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.

Constructors

ResponseHeadersPolicyStrictTransportSecurity' 

Fields

  • includeSubdomains :: Maybe Bool

    A Boolean that determines whether CloudFront includes the includeSubDomains directive in the Strict-Transport-Security HTTP response header.

  • preload :: Maybe Bool

    A Boolean that determines whether CloudFront includes the preload directive in the Strict-Transport-Security HTTP response header.

  • override :: Bool

    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.

  • accessControlMaxAgeSec :: Int

    A number that CloudFront uses as the value for the max-age directive in the Strict-Transport-Security HTTP response header.

Instances

Instances details
FromXML ResponseHeadersPolicyStrictTransportSecurity Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyStrictTransportSecurity

ToXML ResponseHeadersPolicyStrictTransportSecurity Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyStrictTransportSecurity

Generic ResponseHeadersPolicyStrictTransportSecurity Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyStrictTransportSecurity

Read ResponseHeadersPolicyStrictTransportSecurity Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyStrictTransportSecurity

Show ResponseHeadersPolicyStrictTransportSecurity Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyStrictTransportSecurity

NFData ResponseHeadersPolicyStrictTransportSecurity Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyStrictTransportSecurity

Eq ResponseHeadersPolicyStrictTransportSecurity Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyStrictTransportSecurity

Hashable ResponseHeadersPolicyStrictTransportSecurity Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyStrictTransportSecurity

type Rep ResponseHeadersPolicyStrictTransportSecurity Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyStrictTransportSecurity

type Rep ResponseHeadersPolicyStrictTransportSecurity = D1 ('MetaData "ResponseHeadersPolicyStrictTransportSecurity" "Amazonka.CloudFront.Types.ResponseHeadersPolicyStrictTransportSecurity" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "ResponseHeadersPolicyStrictTransportSecurity'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "includeSubdomains") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "preload") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "override") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "accessControlMaxAgeSec") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newResponseHeadersPolicyStrictTransportSecurity Source #

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.