interface SingleHeaderPolicyConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.CloudFront.Mixins.CfnContinuousDeploymentPolicyPropsMixin.SingleHeaderPolicyConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awscloudfront/mixins#CfnContinuousDeploymentPolicyPropsMixin_SingleHeaderPolicyConfigProperty |
Java | software.amazon.awscdk.mixins.preview.services.cloudfront.mixins.CfnContinuousDeploymentPolicyPropsMixin.SingleHeaderPolicyConfigProperty |
Python | aws_cdk.mixins_preview.aws_cloudfront.mixins.CfnContinuousDeploymentPolicyPropsMixin.SingleHeaderPolicyConfigProperty |
TypeScript | @aws-cdk/mixins-preview » aws_cloudfront » mixins » CfnContinuousDeploymentPolicyPropsMixin » SingleHeaderPolicyConfigProperty |
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
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as cloudfront_mixins } from '@aws-cdk/mixins-preview/aws-cloudfront';
const singleHeaderPolicyConfigProperty: cloudfront_mixins.CfnContinuousDeploymentPolicyPropsMixin.SingleHeaderPolicyConfigProperty = {
header: 'header',
value: 'value',
};
Properties
| Name | Type | Description |
|---|---|---|
| header? | string | The name of the HTTP header that CloudFront uses to configure for the single header policy. |
| value? | string | Specifies the value to assign to the header for a single header policy. |
header?
Type:
string
(optional)
The name of the HTTP header that CloudFront uses to configure for the single header policy.
value?
Type:
string
(optional)
Specifies the value to assign to the header for a single header policy.

.NET
Go
Java
Python
TypeScript