Class CfnOriginRequestPolicy.HeadersConfigProperty
An object that determines whether any HTTP headers (and if so, which headers) are included in requests that CloudFront sends to the origin.
Inheritance
System.Object
CfnOriginRequestPolicy.HeadersConfigProperty
Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.AWS.CloudFront.dll
Syntax (csharp)
public class HeadersConfigProperty : Object, CfnOriginRequestPolicy.IHeadersConfigProperty
Syntax (vb)
Public Class HeadersConfigProperty
Inherits Object
Implements CfnOriginRequestPolicy.IHeadersConfigProperty
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 headersConfigProperty = new HeadersConfigProperty {
HeaderBehavior = "headerBehavior",
// the properties below are optional
Headers = new [] { "headers" }
};
Synopsis
Constructors
HeadersConfigProperty() |
Properties
HeaderBehavior | Determines whether any HTTP headers are included in requests that CloudFront sends to the origin. Valid values are:. |
Headers | Contains a list of HTTP header names. |
Constructors
HeadersConfigProperty()
public HeadersConfigProperty()
Properties
HeaderBehavior
Determines whether any HTTP headers are included in requests that CloudFront sends to the origin. Valid values are:.
public string HeaderBehavior { get; set; }
Property Value
System.String
Remarks
Headers
Contains a list of HTTP header names.
public string[] Headers { get; set; }
Property Value
System.String[]