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

Description

 
Synopsis

Documentation

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

See: newResponseHeadersPolicyContentSecurityPolicy smart constructor.

Constructors

ResponseHeadersPolicyContentSecurityPolicy' 

Fields

  • override :: Bool

    A Boolean that determines whether CloudFront overrides the Content-Security-Policy HTTP response header received from the origin with the one specified in this response headers policy.

  • contentSecurityPolicy :: Text

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

Instances

Instances details
FromXML ResponseHeadersPolicyContentSecurityPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyContentSecurityPolicy

ToXML ResponseHeadersPolicyContentSecurityPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyContentSecurityPolicy

Generic ResponseHeadersPolicyContentSecurityPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyContentSecurityPolicy

Read ResponseHeadersPolicyContentSecurityPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyContentSecurityPolicy

Show ResponseHeadersPolicyContentSecurityPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyContentSecurityPolicy

NFData ResponseHeadersPolicyContentSecurityPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyContentSecurityPolicy

Eq ResponseHeadersPolicyContentSecurityPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyContentSecurityPolicy

Hashable ResponseHeadersPolicyContentSecurityPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyContentSecurityPolicy

type Rep ResponseHeadersPolicyContentSecurityPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyContentSecurityPolicy

type Rep ResponseHeadersPolicyContentSecurityPolicy = D1 ('MetaData "ResponseHeadersPolicyContentSecurityPolicy" "Amazonka.CloudFront.Types.ResponseHeadersPolicyContentSecurityPolicy" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "ResponseHeadersPolicyContentSecurityPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "override") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "contentSecurityPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newResponseHeadersPolicyContentSecurityPolicy Source #

Create a value of ResponseHeadersPolicyContentSecurityPolicy 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:ResponseHeadersPolicyContentSecurityPolicy', responseHeadersPolicyContentSecurityPolicy_override - A Boolean that determines whether CloudFront overrides the Content-Security-Policy HTTP response header received from the origin with the one specified in this response headers policy.

$sel:contentSecurityPolicy:ResponseHeadersPolicyContentSecurityPolicy', responseHeadersPolicyContentSecurityPolicy_contentSecurityPolicy - The policy directives and their values that CloudFront includes as values for the Content-Security-Policy HTTP response header.

responseHeadersPolicyContentSecurityPolicy_override :: Lens' ResponseHeadersPolicyContentSecurityPolicy Bool Source #

A Boolean that determines whether CloudFront overrides the Content-Security-Policy HTTP response header received from the origin with the one specified in this response headers policy.

responseHeadersPolicyContentSecurityPolicy_contentSecurityPolicy :: Lens' ResponseHeadersPolicyContentSecurityPolicy Text Source #

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