Show / Hide Table of Contents

Class CfnOriginRequestPolicyProps

Properties for defining a CfnOriginRequestPolicy.

Inheritance
object
CfnOriginRequestPolicyProps
Implements
ICfnOriginRequestPolicyProps
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 CfnOriginRequestPolicyProps : ICfnOriginRequestPolicyProps
Syntax (vb)
Public Class CfnOriginRequestPolicyProps Implements ICfnOriginRequestPolicyProps
Remarks

See: 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 for defining a CfnOriginRequestPolicy.

Properties

OriginRequestPolicyConfig

The origin request policy configuration.

Constructors

CfnOriginRequestPolicyProps()

Properties for defining a CfnOriginRequestPolicy.

public CfnOriginRequestPolicyProps()
Remarks

See: 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"
                 }
             };

Properties

OriginRequestPolicyConfig

The origin request policy configuration.

public object OriginRequestPolicyConfig { get; set; }
Property Value

object

Remarks

See: 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