Show / Hide Table of Contents

Class CfnDistribution.CookieObjectProperty

CookieObject is a property of the CacheSettings property. It describes whether an Amazon Lightsail content delivery network (CDN) distribution forwards cookies to the origin and, if so, which ones.

Inheritance
object
CfnDistribution.CookieObjectProperty
Implements
CfnDistribution.ICookieObjectProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.Lightsail
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnDistribution.CookieObjectProperty : CfnDistribution.ICookieObjectProperty
Syntax (vb)
Public Class CfnDistribution.CookieObjectProperty Implements CfnDistribution.ICookieObjectProperty
Remarks

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-distribution-cookieobject.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.Lightsail;

             var cookieObjectProperty = new CookieObjectProperty {
                 CookiesAllowList = new [] { "cookiesAllowList" },
                 Option = "option"
             };

Synopsis

Constructors

CookieObjectProperty()

CookieObject is a property of the CacheSettings property. It describes whether an Amazon Lightsail content delivery network (CDN) distribution forwards cookies to the origin and, if so, which ones.

Properties

CookiesAllowList

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

Option

Specifies which cookies to forward to the distribution's origin for a cache behavior.

Constructors

CookieObjectProperty()

CookieObject is a property of the CacheSettings property. It describes whether an Amazon Lightsail content delivery network (CDN) distribution forwards cookies to the origin and, if so, which ones.

public CookieObjectProperty()
Remarks

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-distribution-cookieobject.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.Lightsail;

             var cookieObjectProperty = new CookieObjectProperty {
                 CookiesAllowList = new [] { "cookiesAllowList" },
                 Option = "option"
             };

Properties

CookiesAllowList

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

public string[]? CookiesAllowList { get; set; }
Property Value

string[]

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-distribution-cookieobject.html#cfn-lightsail-distribution-cookieobject-cookiesallowlist

Option

Specifies which cookies to forward to the distribution's origin for a cache behavior.

public string? Option { get; set; }
Property Value

string

Remarks

Use one of the following configurations for your distribution:

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-distribution-cookieobject.html#cfn-lightsail-distribution-cookieobject-option

    Implements

    CfnDistribution.ICookieObjectProperty
    Back to top Generated by DocFX