Class CfnOriginRequestPolicyProps
Properties for defining a CfnOriginRequestPolicy
.
Inheritance
System.Object
CfnOriginRequestPolicyProps
Implements
Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnOriginRequestPolicyProps : Object, ICfnOriginRequestPolicyProps
Syntax (vb)
Public Class CfnOriginRequestPolicyProps
Inherits Object
Implements ICfnOriginRequestPolicyProps
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 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