Show / Hide Table of Contents

Class CfnOriginRequestPolicyProps

Properties for defining a CfnOriginRequestPolicy.

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

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-originrequestpolicy.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 cfnOriginRequestPolicyProps = new CfnOriginRequestPolicyProps {
    OriginRequestPolicyConfig = new OriginRequestPolicyConfigProperty {
        CookiesConfig = new CookiesConfigProperty {
            CookieBehavior = "cookieBehavior",

            // the properties below are optional
            Cookies = new [] { "cookies" }
        },
        HeadersConfig = new HeadersConfigProperty {
            HeaderBehavior = "headerBehavior",

            // the properties below are optional
            Headers = new [] { "headers" }
        },
        Name = "name",
        QueryStringsConfig = new QueryStringsConfigProperty {
            QueryStringBehavior = "queryStringBehavior",

            // the properties below are optional
            QueryStrings = new [] { "queryStrings" }
        },

        // the properties below are optional
        Comment = "comment"
    }
};

Synopsis

Constructors

CfnOriginRequestPolicyProps()

Properties

OriginRequestPolicyConfig

The origin request policy configuration.

Constructors

CfnOriginRequestPolicyProps()

public CfnOriginRequestPolicyProps()

Properties

OriginRequestPolicyConfig

The origin request policy configuration.

public object OriginRequestPolicyConfig { get; set; }
Property Value

System.Object

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-originrequestpolicy.html#cfn-cloudfront-originrequestpolicy-originrequestpolicyconfig

Implements

ICfnOriginRequestPolicyProps
Back to top Generated by DocFX