aws-cdk-lib.aws_cloudfront.CfnResponseHeadersPolicy.RemoveHeaderProperty

interface RemoveHeaderProperty

LanguageType name
.NETAmazon.CDK.AWS.CloudFront.CfnResponseHeadersPolicy.RemoveHeaderProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awscloudfront#CfnResponseHeadersPolicy_RemoveHeaderProperty
Javasoftware.amazon.awscdk.services.cloudfront.CfnResponseHeadersPolicy.RemoveHeaderProperty
Pythonaws_cdk.aws_cloudfront.CfnResponseHeadersPolicy.RemoveHeaderProperty
TypeScript aws-cdk-lib » aws_cloudfront » CfnResponseHeadersPolicy » RemoveHeaderProperty

The name of an HTTP header that CloudFront removes from HTTP responses to requests that match the cache behavior that this response headers policy is attached to.

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-lib';
const removeHeaderProperty: cloudfront.CfnResponseHeadersPolicy.RemoveHeaderProperty = {
  header: 'header',
};

Properties

NameTypeDescription
headerstringThe HTTP header name.

header

Type: string

The HTTP header name.