Show / Hide Table of Contents

Class CfnCachePolicy.HeadersConfigProperty

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

Inheritance
object
CfnCachePolicy.HeadersConfigProperty
Implements
CfnCachePolicy.IHeadersConfigProperty
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 CfnCachePolicy.HeadersConfigProperty : CfnCachePolicy.IHeadersConfigProperty
Syntax (vb)
Public Class CfnCachePolicy.HeadersConfigProperty Implements CfnCachePolicy.IHeadersConfigProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-cachepolicy-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

Constructors

HeadersConfigProperty()

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

Properties

HeaderBehavior

Determines whether any HTTP headers are included in the cache key and in requests that CloudFront sends to the origin.

Headers

Contains a list of HTTP header names.

Constructors

HeadersConfigProperty()

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

public HeadersConfigProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-cachepolicy-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" }
             };

Properties

HeaderBehavior

Determines whether any HTTP headers are included in the cache key and in requests that CloudFront sends to the origin.

public string HeaderBehavior { get; set; }
Property Value

string

Remarks

Valid values are:

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

    Headers

    Contains a list of HTTP header names.

    public string[]? Headers { get; set; }
    Property Value

    string[]

    Remarks

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

    Implements

    CfnCachePolicy.IHeadersConfigProperty
    Back to top Generated by DocFX