NAME

Paws::Lightsail::CookieObject

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::Lightsail::CookieObject object:

$service_obj->Method(Att1 => { CookiesAllowList => $value, ..., Option => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::Lightsail::CookieObject object:

$result = $service_obj->Method(...);
$result->Att1->CookiesAllowList

DESCRIPTION

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.

ATTRIBUTES

CookiesAllowList => ArrayRef[Str|Undef]

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

Option => Str

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.

SEE ALSO

This class forms part of Paws, describing an object used in Paws::Lightsail

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues