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.

A complex type that contains the list of Custom Headers for each origin.

Inheritance Hierarchy

System.Object
  Amazon.CloudFront.Model.CustomHeaders

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

Syntax

C#
public class CustomHeaders

The CustomHeaders type exposes the following members

Constructors

NameDescription
Public Method CustomHeaders()

Properties

NameTypeDescription
Public Property Items System.Collections.Generic.List<Amazon.CloudFront.Model.OriginCustomHeader>

Gets and sets the property Items.

Optional: A list that contains one OriginCustomHeader element for each custom header that you want CloudFront to forward to the origin. If Quantity is 0, omit Items.

Public Property Quantity System.Int32

Gets and sets the property Quantity.

The number of custom headers, if any, for this distribution.

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