Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
CookieObject' | |
|
Instances
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.