Show / Hide Table of Contents

Class CfnResponseHeadersPolicy.AccessControlAllowHeadersProperty

A list of HTTP header names that CloudFront includes as values for the Access-Control-Allow-Headers HTTP response header.

Inheritance
System.Object
CfnResponseHeadersPolicy.AccessControlAllowHeadersProperty
Implements
CfnResponseHeadersPolicy.IAccessControlAllowHeadersProperty
Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.AWS.CloudFront.dll
Syntax (csharp)
public class AccessControlAllowHeadersProperty : Object, CfnResponseHeadersPolicy.IAccessControlAllowHeadersProperty
Syntax (vb)
Public Class AccessControlAllowHeadersProperty
    Inherits Object
    Implements CfnResponseHeadersPolicy.IAccessControlAllowHeadersProperty
Remarks

For more information about the Access-Control-Allow-Headers HTTP response header, see Access-Control-Allow-Headers in the MDN Web Docs.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-accesscontrolallowheaders.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 accessControlAllowHeadersProperty = new AccessControlAllowHeadersProperty {
    Items = new [] { "items" }
};

Synopsis

Constructors

AccessControlAllowHeadersProperty()

Properties

Items

The list of HTTP header names.

Constructors

AccessControlAllowHeadersProperty()

public AccessControlAllowHeadersProperty()

Properties

Items

The list of HTTP header names.

public string[] Items { get; set; }
Property Value

System.String[]

Remarks

You can specify * to allow all headers.

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

Implements

CfnResponseHeadersPolicy.IAccessControlAllowHeadersProperty
Back to top Generated by DocFX