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 IOriginCustomHeaderProperty
Syntax (vb)
Public Interface IOriginCustomHeaderProperty
Remarks
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 |
Properties
HeaderName
The name of a header that you want CloudFront to send to your origin.
string HeaderName { get; }
Property Value
System.String
Remarks
For more information, see Adding Custom Headers to Origin Requests in the Amazon CloudFront Developer Guide .
HeaderValue
The value for the header that you specified in the HeaderName
field.
string HeaderValue { get; }
Property Value
System.String