interface AccessControlAllowHeadersProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.CloudFront.Mixins.CfnResponseHeadersPolicyPropsMixin.AccessControlAllowHeadersProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awscloudfront/mixins#CfnResponseHeadersPolicyPropsMixin_AccessControlAllowHeadersProperty |
Java | software.amazon.awscdk.mixins.preview.services.cloudfront.mixins.CfnResponseHeadersPolicyPropsMixin.AccessControlAllowHeadersProperty |
Python | aws_cdk.mixins_preview.aws_cloudfront.mixins.CfnResponseHeadersPolicyPropsMixin.AccessControlAllowHeadersProperty |
TypeScript | @aws-cdk/mixins-preview » aws_cloudfront » mixins » CfnResponseHeadersPolicyPropsMixin » AccessControlAllowHeadersProperty |
A list of HTTP header names that CloudFront includes as values for the Access-Control-Allow-Headers HTTP response header.
For more information about the Access-Control-Allow-Headers HTTP response header, see Access-Control-Allow-Headers in the MDN Web Docs.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as cloudfront_mixins } from '@aws-cdk/mixins-preview/aws-cloudfront';
const accessControlAllowHeadersProperty: cloudfront_mixins.CfnResponseHeadersPolicyPropsMixin.AccessControlAllowHeadersProperty = {
items: ['items'],
};
Properties
| Name | Type | Description |
|---|---|---|
| items? | string[] | The list of HTTP header names. |
items?
Type:
string[]
(optional)
The list of HTTP header names.
You can specify * to allow all headers.

.NET
Go
Java
Python
TypeScript