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 HeaderName and HeaderValue elements, if any, for this distribution.

Inheritance Hierarchy

System.Object
  Amazon.CloudFront.Model.OriginCustomHeader

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

Syntax

C#
public class OriginCustomHeader

The OriginCustomHeader type exposes the following members

Constructors

NameDescription
Public Method OriginCustomHeader()

Properties

NameTypeDescription
Public Property HeaderName System.String

Gets and sets the property HeaderName.

The name of a header that you want CloudFront to send to your origin. For more information, see Adding Custom Headers to Origin Requests in the Amazon CloudFront Developer Guide.

Public Property HeaderValue System.String

Gets and sets the property HeaderValue.

The value for the header that you specified in the HeaderName field.

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