Show / Hide Table of Contents

Interface CfnCachePolicy.ICookiesConfigProperty

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.

Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnCachePolicy.ICookiesConfigProperty
Syntax (vb)
Public Interface 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

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.

Properties

CookieBehavior

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

string CookieBehavior { get; }
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.

    string[]? Cookies { get; }
    Property Value

    string[]

    Remarks

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

    Back to top Generated by DocFX