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
object
CfnResponseHeadersPolicy.AccessControlAllowHeadersProperty
Implements
CfnResponseHeadersPolicy.IAccessControlAllowHeadersProperty
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.AccessControlAllowHeadersProperty : CfnResponseHeadersPolicy.IAccessControlAllowHeadersProperty
Syntax (vb)
Public Class CfnResponseHeadersPolicy.AccessControlAllowHeadersProperty 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.

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

Constructors

AccessControlAllowHeadersProperty()

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

Properties

Items

The list of HTTP header names.

Constructors

AccessControlAllowHeadersProperty()

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

public AccessControlAllowHeadersProperty()
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" }
             };

Properties

Items

The list of HTTP header names.

public string[] Items { get; set; }
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

Implements

CfnResponseHeadersPolicy.IAccessControlAllowHeadersProperty
Back to top Generated by DocFX