interface SingleHeaderPolicyConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.CloudFront.CfnContinuousDeploymentPolicyPropsMixin.SingleHeaderPolicyConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awscloudfront#CfnContinuousDeploymentPolicyPropsMixin_SingleHeaderPolicyConfigProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.cloudfront.CfnContinuousDeploymentPolicyPropsMixin.SingleHeaderPolicyConfigProperty |
Python | aws_cdk.cfn_property_mixins.aws_cloudfront.CfnContinuousDeploymentPolicyPropsMixin.SingleHeaderPolicyConfigProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_cloudfront » 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 { aws_cloudfront as cloudfront } from '@aws-cdk/cfn-property-mixins';
const singleHeaderPolicyConfigProperty: cloudfront.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