# ResponseCustomHeader

An HTTP response header name and its value.

CloudFront includes this header in HTTP responses that it sends for requests that match a cache behavior that’s associated with this response headers policy.

- Source: [`aws-cloudfront/lib/response-headers-policy.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-cloudfront/lib/response-headers-policy.ts#L302)
- Type last changed: v2.1.0 · 8 Dec 2021

## 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 responseCustomHeader: cloudfront.ResponseCustomHeader = {
  header: 'header',
  override: false,
  value: 'value',
};
```

## Properties

- `header`: string (required) — The HTTP response header name.

- `override`: boolean (required) — A Boolean that determines whether CloudFront overrides a response header with the same name received from the origin with the header specified here.

- `value`: string (required) — The value for the HTTP response header.
