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

Description

 
Synopsis

Documentation

data ResponseHeadersPolicyCustomHeader Source #

An HTTP response header name and its value. CloudFront includes this header in HTTP responses that it sends for requests that match a cache behavior that's associated with this response headers policy.

See: newResponseHeadersPolicyCustomHeader smart constructor.

Constructors

ResponseHeadersPolicyCustomHeader' 

Fields

  • header :: Text

    The HTTP response header name.

  • value :: Text

    The value for the HTTP response header.

  • override :: Bool

    A Boolean that determines whether CloudFront overrides a response header with the same name received from the origin with the header specified here.

Instances

Instances details
FromXML ResponseHeadersPolicyCustomHeader Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyCustomHeader

ToXML ResponseHeadersPolicyCustomHeader Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyCustomHeader

Generic ResponseHeadersPolicyCustomHeader Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyCustomHeader

Associated Types

type Rep ResponseHeadersPolicyCustomHeader :: Type -> Type #

Read ResponseHeadersPolicyCustomHeader Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyCustomHeader

Show ResponseHeadersPolicyCustomHeader Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyCustomHeader

NFData ResponseHeadersPolicyCustomHeader Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyCustomHeader

Eq ResponseHeadersPolicyCustomHeader Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyCustomHeader

Hashable ResponseHeadersPolicyCustomHeader Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyCustomHeader

type Rep ResponseHeadersPolicyCustomHeader Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyCustomHeader

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

newResponseHeadersPolicyCustomHeader Source #

Create a value of ResponseHeadersPolicyCustomHeader 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:header:ResponseHeadersPolicyCustomHeader', responseHeadersPolicyCustomHeader_header - The HTTP response header name.

$sel:value:ResponseHeadersPolicyCustomHeader', responseHeadersPolicyCustomHeader_value - The value for the HTTP response header.

$sel:override:ResponseHeadersPolicyCustomHeader', responseHeadersPolicyCustomHeader_override - A Boolean that determines whether CloudFront overrides a response header with the same name received from the origin with the header specified here.

responseHeadersPolicyCustomHeader_override :: Lens' ResponseHeadersPolicyCustomHeader Bool Source #

A Boolean that determines whether CloudFront overrides a response header with the same name received from the origin with the header specified here.