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
Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.Lib.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.
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[]