Skip to content
v2.274.0

RemoveHeadersConfigProperty Struct ​

A list of HTTP header names that CloudFront removes from HTTP responses to requests that match the cache behavior that this response headers policy is attached to.

Example ​

ts
// 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-lib';
const removeHeadersConfigProperty: cloudfront.CfnResponseHeadersPolicy.RemoveHeadersConfigProperty = {
  items: [{
    header: 'header',
  }],
};

Properties ​

itemsIResolvable | IResolvable | CfnResponseHeadersPolicy.RemoveHeaderProperty[]itemstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, RemoveHeaderProperty]]]itemsIResolvableItemsIResolvableItemsinterface{}required#
The list of HTTP header names.