interface AccessControlAllowHeadersProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.CloudFront.CfnResponseHeadersPolicyPropsMixin.AccessControlAllowHeadersProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awscloudfront#CfnResponseHeadersPolicyPropsMixin_AccessControlAllowHeadersProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.cloudfront.CfnResponseHeadersPolicyPropsMixin.AccessControlAllowHeadersProperty |
Python | aws_cdk.cfn_property_mixins.aws_cloudfront.CfnResponseHeadersPolicyPropsMixin.AccessControlAllowHeadersProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_cloudfront » 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 { aws_cloudfront as cloudfront } from '@aws-cdk/cfn-property-mixins';
const accessControlAllowHeadersProperty: cloudfront.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