libZSservicesZSamazonka-lightsailZSamazonka-lightsail
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.Lightsail.Types.CookieObject

Description

 
Synopsis

Documentation

data CookieObject Source #

Describes whether an Amazon Lightsail content delivery network (CDN) distribution forwards cookies to the origin and, if so, which ones.

For the cookies that you specify, your distribution caches separate versions of the specified content based on the cookie values in viewer requests.

See: newCookieObject smart constructor.

Constructors

CookieObject' 

Fields

  • cookiesAllowList :: Maybe [Text]

    The specific cookies to forward to your distribution's origin.

  • option :: Maybe ForwardValues

    Specifies which cookies to forward to the distribution's origin for a cache behavior: all, none, or allow-list to forward only the cookies specified in the cookiesAllowList parameter.

Instances

Instances details
Eq CookieObject Source # 
Instance details

Defined in Amazonka.Lightsail.Types.CookieObject

Read CookieObject Source # 
Instance details

Defined in Amazonka.Lightsail.Types.CookieObject

Show CookieObject Source # 
Instance details

Defined in Amazonka.Lightsail.Types.CookieObject

Generic CookieObject Source # 
Instance details

Defined in Amazonka.Lightsail.Types.CookieObject

Associated Types

type Rep CookieObject :: Type -> Type #

NFData CookieObject Source # 
Instance details

Defined in Amazonka.Lightsail.Types.CookieObject

Methods

rnf :: CookieObject -> () #

Hashable CookieObject Source # 
Instance details

Defined in Amazonka.Lightsail.Types.CookieObject

ToJSON CookieObject Source # 
Instance details

Defined in Amazonka.Lightsail.Types.CookieObject

FromJSON CookieObject Source # 
Instance details

Defined in Amazonka.Lightsail.Types.CookieObject

type Rep CookieObject Source # 
Instance details

Defined in Amazonka.Lightsail.Types.CookieObject

type Rep CookieObject = D1 ('MetaData "CookieObject" "Amazonka.Lightsail.Types.CookieObject" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" 'False) (C1 ('MetaCons "CookieObject'" 'PrefixI 'True) (S1 ('MetaSel ('Just "cookiesAllowList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "option") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ForwardValues))))

newCookieObject :: CookieObject Source #

Create a value of CookieObject 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:cookiesAllowList:CookieObject', cookieObject_cookiesAllowList - The specific cookies to forward to your distribution's origin.

$sel:option:CookieObject', cookieObject_option - Specifies which cookies to forward to the distribution's origin for a cache behavior: all, none, or allow-list to forward only the cookies specified in the cookiesAllowList parameter.

cookieObject_cookiesAllowList :: Lens' CookieObject (Maybe [Text]) Source #

The specific cookies to forward to your distribution's origin.

cookieObject_option :: Lens' CookieObject (Maybe ForwardValues) Source #

Specifies which cookies to forward to the distribution's origin for a cache behavior: all, none, or allow-list to forward only the cookies specified in the cookiesAllowList parameter.