AWS SDK Version 2 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.

.NET Framework 4.5
 
A complex type that specifies the cookie preferences associated with this cache behavior.

Inheritance Hierarchy

System.Object
  Amazon.CloudFront.Model.CookiePreference

Namespace: Amazon.CloudFront.Model
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public class CookiePreference : Object

The CookiePreference type exposes the following members

Constructors

NameDescription
Public Method CookiePreference()

Properties

NameTypeDescription
Public Property Forward Amazon.CloudFront.ItemSelection Gets and sets the property Forward. Use this element to specify whether you want CloudFront to forward cookies to the origin that is associated with this cache behavior. You can specify all, none or whitelist. If you choose All, CloudFront forwards all cookies regardless of how many your application uses.
Public Property WhitelistedNames Amazon.CloudFront.Model.CookieNames Gets and sets the property WhitelistedNames. A complex type that specifies the whitelisted cookies, if any, that you want CloudFront to forward to your origin that is associated with this cache behavior.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

.NET for Windows Store apps:
Supported in: Windows 8