Show / Hide Table of Contents

Class CfnCachePolicy.CookiesConfigProperty

An object that determines whether any cookies in viewer requests (and if so, which cookies) are included in the cache key and in requests that CloudFront sends to the origin.

Inheritance
object
CfnCachePolicy.CookiesConfigProperty
Implements
CfnCachePolicy.ICookiesConfigProperty
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.CloudFront
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnCachePolicy.CookiesConfigProperty : CfnCachePolicy.ICookiesConfigProperty
Syntax (vb)
Public Class CfnCachePolicy.CookiesConfigProperty Implements CfnCachePolicy.ICookiesConfigProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-cachepolicy-cookiesconfig.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.CloudFront;

             var cookiesConfigProperty = new CookiesConfigProperty {
                 CookieBehavior = "cookieBehavior",

                 // the properties below are optional
                 Cookies = new [] { "cookies" }
             };

Synopsis

Constructors

CookiesConfigProperty()

An object that determines whether any cookies in viewer requests (and if so, which cookies) are included in the cache key and in requests that CloudFront sends to the origin.

Properties

CookieBehavior

Determines whether any cookies in viewer requests are included in the cache key and in requests that CloudFront sends to the origin.

Cookies

Contains a list of cookie names.

Constructors

CookiesConfigProperty()

An object that determines whether any cookies in viewer requests (and if so, which cookies) are included in the cache key and in requests that CloudFront sends to the origin.

public CookiesConfigProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-cachepolicy-cookiesconfig.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.CloudFront;

             var cookiesConfigProperty = new CookiesConfigProperty {
                 CookieBehavior = "cookieBehavior",

                 // the properties below are optional
                 Cookies = new [] { "cookies" }
             };

Properties

CookieBehavior

Determines whether any cookies in viewer requests are included in the cache key and in requests that CloudFront sends to the origin.

public string CookieBehavior { get; set; }
Property Value

string

Remarks

Valid values are:

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-cachepolicy-cookiesconfig.html#cfn-cloudfront-cachepolicy-cookiesconfig-cookiebehavior

    Cookies

    Contains a list of cookie names.

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

    string[]

    Remarks

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-cachepolicy-cookiesconfig.html#cfn-cloudfront-cachepolicy-cookiesconfig-cookies

    Implements

    CfnCachePolicy.ICookiesConfigProperty
    Back to top Generated by DocFX