interface SingleHeaderPolicyConfigProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.CloudFront.CfnContinuousDeploymentPolicy.SingleHeaderPolicyConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awscloudfront#CfnContinuousDeploymentPolicy_SingleHeaderPolicyConfigProperty |
Java | software.amazon.awscdk.services.cloudfront.CfnContinuousDeploymentPolicy.SingleHeaderPolicyConfigProperty |
Python | aws_cdk.aws_cloudfront.CfnContinuousDeploymentPolicy.SingleHeaderPolicyConfigProperty |
TypeScript | aws-cdk-lib » aws_cloudfront » CfnContinuousDeploymentPolicy » 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-lib';
const singleHeaderPolicyConfigProperty: cloudfront.CfnContinuousDeploymentPolicy.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
The name of the HTTP header that CloudFront uses to configure for the single header policy.
value
Type:
string
Specifies the value to assign to the header for a single header policy.