Show / Hide Table of Contents

Class CfnDistribution.OriginCustomHeaderProperty

A complex type that contains HeaderName and HeaderValue elements, if any, for this distribution.

Inheritance
object
CfnDistribution.OriginCustomHeaderProperty
Implements
CfnDistribution.IOriginCustomHeaderProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnDistribution.OriginCustomHeaderProperty : CfnDistribution.IOriginCustomHeaderProperty
Syntax (vb)
Public Class CfnDistribution.OriginCustomHeaderProperty Implements CfnDistribution.IOriginCustomHeaderProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-origincustomheader.html

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 originCustomHeaderProperty = new OriginCustomHeaderProperty {
                 HeaderName = "headerName",
                 HeaderValue = "headerValue"
             };

Synopsis

Constructors

OriginCustomHeaderProperty()

A complex type that contains HeaderName and HeaderValue elements, if any, for this distribution.

Properties

HeaderName

The name of a header that you want CloudFront to send to your origin.

HeaderValue

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

Constructors

OriginCustomHeaderProperty()

A complex type that contains HeaderName and HeaderValue elements, if any, for this distribution.

public OriginCustomHeaderProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-origincustomheader.html

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 originCustomHeaderProperty = new OriginCustomHeaderProperty {
                 HeaderName = "headerName",
                 HeaderValue = "headerValue"
             };

Properties

HeaderName

The name of a header that you want CloudFront to send to your origin.

public string HeaderName { get; set; }
Property Value

string

Remarks

For more information, see Adding Custom Headers to Origin Requests in the Amazon CloudFront Developer Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-origincustomheader.html#cfn-cloudfront-distribution-origincustomheader-headername

HeaderValue

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

public string HeaderValue { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-origincustomheader.html#cfn-cloudfront-distribution-origincustomheader-headervalue

Implements

CfnDistribution.IOriginCustomHeaderProperty
Back to top Generated by DocFX