Show / Hide Table of Contents

Interface CfnResponseHeadersPolicy.IAccessControlAllowHeadersProperty

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

Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnResponseHeadersPolicy.IAccessControlAllowHeadersProperty
Syntax (vb)
Public Interface 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.

See: 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

Properties

Items

The list of HTTP header names.

Properties

Items

The list of HTTP header names.

string[] Items { get; }
Property Value

string[]

Remarks

You can specify * to allow all headers.

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

Back to top Generated by DocFX