interface AccessControlAllowHeadersProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.CloudFront.CfnResponseHeadersPolicy.AccessControlAllowHeadersProperty |
Java | software.amazon.awscdk.services.cloudfront.CfnResponseHeadersPolicy.AccessControlAllowHeadersProperty |
Python | aws_cdk.aws_cloudfront.CfnResponseHeadersPolicy.AccessControlAllowHeadersProperty |
TypeScript | @aws-cdk/aws-cloudfront » CfnResponseHeadersPolicy » 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 * as cloudfront from '@aws-cdk/aws-cloudfront';
const accessControlAllowHeadersProperty: cloudfront.CfnResponseHeadersPolicy.AccessControlAllowHeadersProperty = {
items: ['items'],
};
Properties
| Name | Type | Description |
|---|---|---|
| items | string[] | The list of HTTP header names. |
items
Type:
string[]
The list of HTTP header names.
You can specify * to allow all headers.

.NET
Java
Python
TypeScript