AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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.

Inheritance Hierarchy

System.Object
  Amazon.Lightsail.Model.CookieObject

Namespace: Amazon.Lightsail.Model
Assembly: AWSSDK.Lightsail.dll
Version: 3.x.y.z

Syntax

C#
public class CookieObject

The CookieObject type exposes the following members

Constructors

NameDescription
Public Method CookieObject()

Properties

NameTypeDescription
Public Property CookiesAllowList System.Collections.Generic.List<System.String>

Gets and sets the property CookiesAllowList.

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

Public Property Option Amazon.Lightsail.ForwardValues

Gets and sets the property 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.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5