# SingleHeaderPolicyConfigProperty

Defines a single header policy for a CloudFront distribution.

> This property is legacy. We recommend that you use [TrafficConfig](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-continuousdeploymentpolicy-trafficconfig.html) and specify the [SingleHeaderConfig](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-continuousdeploymentpolicy-trafficconfig.html#cfn-cloudfront-continuousdeploymentpolicy-trafficconfig-singleheaderconfig) property instead.

- Source: Generated code
- Type last changed: v2.101.0 · 13 Oct 2023

## 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 singleHeaderPolicyConfigProperty: cloudfront.CfnContinuousDeploymentPolicy.SingleHeaderPolicyConfigProperty = {
  header: 'header',
  value: 'value',
};
```

## Properties

- `header`: string (required) — The name of the HTTP header that CloudFront uses to configure for the single header policy.

- `value`: string (required) — Specifies the value to assign to the header for a single header policy.
