Interface CfnCachePolicy.IHeadersConfigProperty
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.
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 the cache key and in requests that CloudFront sends to the origin. |
Headers | Contains a list of HTTP header names. |
Properties
HeaderBehavior
Determines whether any HTTP headers are included in the cache key and in requests that CloudFront sends to the origin.
string HeaderBehavior { get; }
Property Value
System.String
Remarks
Headers
Contains a list of HTTP header names.
virtual string[] Headers { get; }
Property Value
System.String[]