Class CfnContinuousDeploymentPolicy.SingleHeaderPolicyConfigProperty
Defines a single header policy for a CloudFront distribution.
Inherited Members
Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnContinuousDeploymentPolicy.SingleHeaderPolicyConfigProperty : CfnContinuousDeploymentPolicy.ISingleHeaderPolicyConfigProperty
Syntax (vb)
Public Class CfnContinuousDeploymentPolicy.SingleHeaderPolicyConfigProperty Implements CfnContinuousDeploymentPolicy.ISingleHeaderPolicyConfigProperty
Remarks
This property is legacy. We recommend that you use <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-continuousdeploymentpolicy-trafficconfig.html">TrafficConfig</a> and specify the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-continuousdeploymentpolicy-trafficconfig.html#cfn-cloudfront-continuousdeploymentpolicy-trafficconfig-singleheaderconfig">SingleHeaderConfig</a> property instead.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CloudFront;
var singleHeaderPolicyConfigProperty = new SingleHeaderPolicyConfigProperty {
Header = "header",
Value = "value"
};
Synopsis
Constructors
| SingleHeaderPolicyConfigProperty() | Defines a single header policy for a CloudFront distribution. |
Properties
| Header | The name of the HTTP header that CloudFront uses to configure for the single header policy. |
| Value | Specifies the value to assign to the header for a single header policy. |
Constructors
SingleHeaderPolicyConfigProperty()
Defines a single header policy for a CloudFront distribution.
public SingleHeaderPolicyConfigProperty()
Remarks
This property is legacy. We recommend that you use <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-continuousdeploymentpolicy-trafficconfig.html">TrafficConfig</a> and specify the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-continuousdeploymentpolicy-trafficconfig.html#cfn-cloudfront-continuousdeploymentpolicy-trafficconfig-singleheaderconfig">SingleHeaderConfig</a> property instead.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CloudFront;
var singleHeaderPolicyConfigProperty = new SingleHeaderPolicyConfigProperty {
Header = "header",
Value = "value"
};
Properties
Header
The name of the HTTP header that CloudFront uses to configure for the single header policy.
public string Header { get; set; }
Property Value
Remarks
Value
Specifies the value to assign to the header for a single header policy.
public string Value { get; set; }