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 IAccessControlAllowHeadersProperty
Syntax (vb)
Public Interface 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
Properties
Items | The list of HTTP header names. |
Properties
Items
The list of HTTP header names.
string[] Items { get; }
Property Value
System.