libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CloudFront.Types.OriginRequestPolicyCookiesConfig

Description

 
Synopsis

Documentation

data OriginRequestPolicyCookiesConfig Source #

An object that determines whether any cookies in viewer requests (and if so, which cookies) are included in requests that CloudFront sends to the origin.

See: newOriginRequestPolicyCookiesConfig smart constructor.

Constructors

OriginRequestPolicyCookiesConfig' 

Fields

  • cookies :: Maybe CookieNames
     
  • cookieBehavior :: OriginRequestPolicyCookieBehavior

    Determines whether cookies in viewer requests are included in requests that CloudFront sends to the origin. Valid values are:

    • none – Cookies in viewer requests are not included in requests that CloudFront sends to the origin. Even when this field is set to none, any cookies that are listed in a CachePolicy are included in origin requests.
    • whitelist – The cookies in viewer requests that are listed in the CookieNames type are included in requests that CloudFront sends to the origin.
    • all – All cookies in viewer requests are included in requests that CloudFront sends to the origin.

Instances

Instances details
Eq OriginRequestPolicyCookiesConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyCookiesConfig

Read OriginRequestPolicyCookiesConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyCookiesConfig

Show OriginRequestPolicyCookiesConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyCookiesConfig

Generic OriginRequestPolicyCookiesConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyCookiesConfig

Associated Types

type Rep OriginRequestPolicyCookiesConfig :: Type -> Type #

NFData OriginRequestPolicyCookiesConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyCookiesConfig

Hashable OriginRequestPolicyCookiesConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyCookiesConfig

FromXML OriginRequestPolicyCookiesConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyCookiesConfig

ToXML OriginRequestPolicyCookiesConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyCookiesConfig

type Rep OriginRequestPolicyCookiesConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyCookiesConfig

type Rep OriginRequestPolicyCookiesConfig = D1 ('MetaData "OriginRequestPolicyCookiesConfig" "Amazonka.CloudFront.Types.OriginRequestPolicyCookiesConfig" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "OriginRequestPolicyCookiesConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "cookies") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CookieNames)) :*: S1 ('MetaSel ('Just "cookieBehavior") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 OriginRequestPolicyCookieBehavior)))

newOriginRequestPolicyCookiesConfig Source #

Create a value of OriginRequestPolicyCookiesConfig 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:cookies:OriginRequestPolicyCookiesConfig', originRequestPolicyCookiesConfig_cookies - Undocumented member.

$sel:cookieBehavior:OriginRequestPolicyCookiesConfig', originRequestPolicyCookiesConfig_cookieBehavior - Determines whether cookies in viewer requests are included in requests that CloudFront sends to the origin. Valid values are:

  • none – Cookies in viewer requests are not included in requests that CloudFront sends to the origin. Even when this field is set to none, any cookies that are listed in a CachePolicy are included in origin requests.
  • whitelist – The cookies in viewer requests that are listed in the CookieNames type are included in requests that CloudFront sends to the origin.
  • all – All cookies in viewer requests are included in requests that CloudFront sends to the origin.

originRequestPolicyCookiesConfig_cookieBehavior :: Lens' OriginRequestPolicyCookiesConfig OriginRequestPolicyCookieBehavior Source #

Determines whether cookies in viewer requests are included in requests that CloudFront sends to the origin. Valid values are:

  • none – Cookies in viewer requests are not included in requests that CloudFront sends to the origin. Even when this field is set to none, any cookies that are listed in a CachePolicy are included in origin requests.
  • whitelist – The cookies in viewer requests that are listed in the CookieNames type are included in requests that CloudFront sends to the origin.
  • all – All cookies in viewer requests are included in requests that CloudFront sends to the origin.