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

Description

 
Synopsis

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

  • override :: Bool

    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.

  • frameOption :: FrameOptionsList

    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.

Instances

Instances details
FromXML ResponseHeadersPolicyFrameOptions Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyFrameOptions

ToXML ResponseHeadersPolicyFrameOptions Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyFrameOptions

Generic ResponseHeadersPolicyFrameOptions Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyFrameOptions

Associated Types

type Rep ResponseHeadersPolicyFrameOptions :: Type -> Type #

Read ResponseHeadersPolicyFrameOptions Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyFrameOptions

Show ResponseHeadersPolicyFrameOptions Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyFrameOptions

NFData ResponseHeadersPolicyFrameOptions Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyFrameOptions

Eq ResponseHeadersPolicyFrameOptions Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyFrameOptions

Hashable ResponseHeadersPolicyFrameOptions Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyFrameOptions

type Rep ResponseHeadersPolicyFrameOptions Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyFrameOptions

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

newResponseHeadersPolicyFrameOptions Source #

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.