Show / Hide Table of Contents

Interface CfnOriginRequestPolicy.IHeadersConfigProperty

An object that determines whether any HTTP headers (and if so, which headers) are included in requests that CloudFront sends to the origin.

Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnOriginRequestPolicy.IHeadersConfigProperty
Syntax (vb)
Public Interface CfnOriginRequestPolicy.IHeadersConfigProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-originrequestpolicy-headersconfig.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 headersConfigProperty = new HeadersConfigProperty {
                 HeaderBehavior = "headerBehavior",

                 // the properties below are optional
                 Headers = new [] { "headers" }
             };

Synopsis

Properties

HeaderBehavior

Determines whether any HTTP headers are included in requests that CloudFront sends to the origin. Valid values are:.

Headers

Contains a list of HTTP header names.

Properties

HeaderBehavior

Determines whether any HTTP headers are included in requests that CloudFront sends to the origin. Valid values are:.

string HeaderBehavior { get; }
Property Value

string

Remarks

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-originrequestpolicy-headersconfig.html#cfn-cloudfront-originrequestpolicy-headersconfig-headerbehavior

    Headers

    Contains a list of HTTP header names.

    string[]? Headers { get; }
    Property Value

    string[]

    Remarks

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-originrequestpolicy-headersconfig.html#cfn-cloudfront-originrequestpolicy-headersconfig-headers

    Back to top Generated by DocFX