Show / Hide Table of Contents

Interface CfnDistribution.IOriginCustomHeaderProperty

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

Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnDistribution.IOriginCustomHeaderProperty
Syntax (vb)
Public Interface 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

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.

Properties

HeaderName

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

string HeaderName { get; }
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.

string HeaderValue { get; }
Property Value

string

Remarks

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

Back to top Generated by DocFX