Interface CfnOriginRequestPolicy.IHeadersConfigProperty
An object that determines whether any HTTP headers (and if so, which headers) are included in requests that CloudFront sends to the origin.
Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IHeadersConfigProperty
Syntax (vb)
Public Interface 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
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. |
Properties
HeaderBehavior
Determines whether any HTTP headers are included in requests that CloudFront sends to the origin. Valid values are:.
string HeaderBehavior { get; }
Property Value
System.String
Remarks
Headers
Contains a list of HTTP header names.
virtual string[] Headers { get; }
Property Value
System.String[]