Class CfnCachePolicy.HeadersConfigProperty
An object that determines whether any HTTP headers (and if so, which headers) are included in the cache key and in requests that CloudFront sends to the origin.
Inheritance
System.Object
CfnCachePolicy.HeadersConfigProperty
Implements
Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class HeadersConfigProperty : Object, CfnCachePolicy.IHeadersConfigProperty
Syntax (vb)
Public Class HeadersConfigProperty
Inherits Object
Implements CfnCachePolicy.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 the cache key and in requests that CloudFront sends to the origin. |
Headers | Contains a list of HTTP header names. |
Constructors
HeadersConfigProperty()
public HeadersConfigProperty()
Properties
HeaderBehavior
Determines whether any HTTP headers are included in the cache key and in requests that CloudFront sends to the origin.
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[]