Show / Hide Table of Contents

Class CfnResponseHeadersPolicy.CustomHeadersConfigProperty

A list of HTTP response header names and their values.

Inheritance
object
CfnResponseHeadersPolicy.CustomHeadersConfigProperty
Implements
CfnResponseHeadersPolicy.ICustomHeadersConfigProperty
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 CfnResponseHeadersPolicy.CustomHeadersConfigProperty : CfnResponseHeadersPolicy.ICustomHeadersConfigProperty
Syntax (vb)
Public Class CfnResponseHeadersPolicy.CustomHeadersConfigProperty Implements CfnResponseHeadersPolicy.ICustomHeadersConfigProperty
Remarks

CloudFront includes these headers in HTTP responses that it sends for requests that match a cache behavior that's associated with this response headers policy.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-customheadersconfig.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 customHeadersConfigProperty = new CustomHeadersConfigProperty {
                 Items = new [] { new CustomHeaderProperty {
                     Header = "header",
                     Override = false,
                     Value = "value"
                 } }
             };

Synopsis

Constructors

CustomHeadersConfigProperty()

A list of HTTP response header names and their values.

Properties

Items

The list of HTTP response headers and their values.

Constructors

CustomHeadersConfigProperty()

A list of HTTP response header names and their values.

public CustomHeadersConfigProperty()
Remarks

CloudFront includes these headers in HTTP responses that it sends for requests that match a cache behavior that's associated with this response headers policy.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-customheadersconfig.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 customHeadersConfigProperty = new CustomHeadersConfigProperty {
                 Items = new [] { new CustomHeaderProperty {
                     Header = "header",
                     Override = false,
                     Value = "value"
                 } }
             };

Properties

Items

The list of HTTP response headers and their values.

public object Items { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-customheadersconfig.html#cfn-cloudfront-responseheaderspolicy-customheadersconfig-items

Type union: either IResolvable or (either IResolvable or CfnResponseHeadersPolicy.ICustomHeaderProperty)[]

Implements

CfnResponseHeadersPolicy.ICustomHeadersConfigProperty
Back to top Generated by DocFX