Show / Hide Table of Contents

Class CfnOriginRequestPolicy.CookiesConfigProperty

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

Inheritance
System.Object
CfnOriginRequestPolicy.CookiesConfigProperty
Implements
CfnOriginRequestPolicy.ICookiesConfigProperty
Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.AWS.CloudFront.dll
Syntax (csharp)
public class CookiesConfigProperty : Object, CfnOriginRequestPolicy.ICookiesConfigProperty
Syntax (vb)
Public Class CookiesConfigProperty
    Inherits Object
    Implements CfnOriginRequestPolicy.ICookiesConfigProperty
Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-originrequestpolicy-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()

Properties

CookieBehavior

Determines whether cookies in viewer requests are included in requests that CloudFront sends to the origin. Valid values are:.

Cookies

Contains a list of cookie names.

Constructors

CookiesConfigProperty()

public CookiesConfigProperty()

Properties

CookieBehavior

Determines whether cookies in viewer requests are included in requests that CloudFront sends to the origin. Valid values are:.

public string CookieBehavior { get; set; }
Property Value

System.String

Remarks

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

    Cookies

    Contains a list of cookie names.

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

    System.String[]

    Remarks

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

    Implements

    CfnOriginRequestPolicy.ICookiesConfigProperty
    Back to top Generated by DocFX