Skip to content
v2.274.0

SingleHeaderPolicyConfigProperty Struct ​

Defines a single header policy for a CloudFront distribution.

This property is legacy. We recommend that you use TrafficConfig and specify the SingleHeaderConfig property instead.

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 ​

valuestringvaluestrvalueStringValuestringValue*stringrequired#
Specifies the value to assign to the header for a single header policy.