Show / Hide Table of Contents

Class CfnResponseHeadersPolicyPropsMixin.CustomHeadersConfigProperty

A list of HTTP response header names and their values.

Inheritance
object
CfnResponseHeadersPolicyPropsMixin.CustomHeadersConfigProperty
Implements
CfnResponseHeadersPolicyPropsMixin.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.Mixins.Preview.AWS.CloudFront.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnResponseHeadersPolicyPropsMixin.CustomHeadersConfigProperty : CfnResponseHeadersPolicyPropsMixin.ICustomHeadersConfigProperty
Syntax (vb)
Public Class CfnResponseHeadersPolicyPropsMixin.CustomHeadersConfigProperty Implements CfnResponseHeadersPolicyPropsMixin.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.Mixins.Preview.AWS.CloudFront.Mixins;

             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.Mixins.Preview.AWS.CloudFront.Mixins;

             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 CfnResponseHeadersPolicyPropsMixin.ICustomHeaderProperty)[]

Implements

CfnResponseHeadersPolicyPropsMixin.ICustomHeadersConfigProperty
Back to top Generated by DocFX