Interface CfnContinuousDeploymentPolicy.ISingleHeaderPolicyConfigProperty
Defines a single header policy for a CloudFront distribution.
Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ISingleHeaderPolicyConfigProperty
Syntax (vb)
Public Interface ISingleHeaderPolicyConfigProperty
Remarks
This property is legacy. We recommend that you use TrafficConfig and specify the SingleHeaderConfig 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
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. |
Properties
Header
The name of the HTTP header that CloudFront uses to configure for the single header policy.
string Header { get; }
Property Value
System.String
Remarks
Value
Specifies the value to assign to the header for a single header policy.
string Value { get; }
Property Value
System.String