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 ICookiesConfigProperty
Syntax (vb)
Public Interface ICookiesConfigProperty
Remarks
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
System.String
Remarks
Cookies
Contains a list of cookie names.
virtual string[] Cookies { get; }
Property Value
System.String[]