aws-cdk-lib.aws_cloudfront.CfnContinuousDeploymentPolicy.SingleHeaderConfigProperty

interface SingleHeaderConfigProperty

LanguageType name
.NETAmazon.CDK.AWS.CloudFront.CfnContinuousDeploymentPolicy.SingleHeaderConfigProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awscloudfront#CfnContinuousDeploymentPolicy_SingleHeaderConfigProperty
Javasoftware.amazon.awscdk.services.cloudfront.CfnContinuousDeploymentPolicy.SingleHeaderConfigProperty
Pythonaws_cdk.aws_cloudfront.CfnContinuousDeploymentPolicy.SingleHeaderConfigProperty
TypeScript aws-cdk-lib » aws_cloudfront » CfnContinuousDeploymentPolicy » SingleHeaderConfigProperty

Determines which HTTP requests are sent to the staging distribution.

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 singleHeaderConfigProperty: cloudfront.CfnContinuousDeploymentPolicy.SingleHeaderConfigProperty = {
  header: 'header',
  value: 'value',
};

Properties

NameTypeDescription
headerstringThe request header name that you want CloudFront to send to your staging distribution.
valuestringThe request header value.

header

Type: string

The request header name that you want CloudFront to send to your staging distribution.

The header must contain the prefix aws-cf-cd- .


value

Type: string

The request header value.