AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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 Hierarchy

System.Object
  Amazon.CloudFront.Model.CachePolicyHeadersConfig

Namespace: Amazon.CloudFront.Model
Assembly: AWSSDK.CloudFront.dll
Version: 3.x.y.z

Syntax

C#
public class CachePolicyHeadersConfig

The CachePolicyHeadersConfig type exposes the following members

Constructors

NameDescription
Public Method CachePolicyHeadersConfig()

Properties

NameTypeDescription
Public Property HeaderBehavior Amazon.CloudFront.CachePolicyHeaderBehavior

Gets and sets the property HeaderBehavior.

Determines whether any HTTP headers are included in the cache key and in requests that CloudFront sends to the origin. Valid values are:

  • none – No HTTP headers are included in the cache key or in requests that CloudFront sends to the origin. Even when this field is set to none, any headers that are listed in an OriginRequestPolicyare included in origin requests.

  • whitelist – Only the HTTP headers that are listed in the Headers type are included in the cache key and in requests that CloudFront sends to the origin.

Public Property Headers Amazon.CloudFront.Model.Headers

Gets and sets the property Headers.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5