Class CfnResponseHeadersPolicyPropsMixin.AccessControlAllowHeadersProperty
A list of HTTP header names that CloudFront includes as values for the Access-Control-Allow-Headers HTTP response header.
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.CloudFront
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnResponseHeadersPolicyPropsMixin.AccessControlAllowHeadersProperty : CfnResponseHeadersPolicyPropsMixin.IAccessControlAllowHeadersProperty
Syntax (vb)
Public Class CfnResponseHeadersPolicyPropsMixin.AccessControlAllowHeadersProperty Implements CfnResponseHeadersPolicyPropsMixin.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.CfnPropertyMixins.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 |
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.
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.CfnPropertyMixins.AWS.CloudFront;
var accessControlAllowHeadersProperty = new AccessControlAllowHeadersProperty {
Items = new [] { "items" }
};