Class CfnContinuousDeploymentPolicy.SingleHeaderConfigProperty
Determines which HTTP requests are sent to the staging distribution.
Inherited Members
Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnContinuousDeploymentPolicy.SingleHeaderConfigProperty : CfnContinuousDeploymentPolicy.ISingleHeaderConfigProperty
Syntax (vb)
Public Class CfnContinuousDeploymentPolicy.SingleHeaderConfigProperty Implements CfnContinuousDeploymentPolicy.ISingleHeaderConfigProperty
Remarks
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 singleHeaderConfigProperty = new SingleHeaderConfigProperty {
Header = "header",
Value = "value"
};
Synopsis
Constructors
SingleHeaderConfigProperty() | Determines which HTTP requests are sent to the staging distribution. |
Properties
Header | The request header name that you want CloudFront to send to your staging distribution. |
Value | The request header value. |
Constructors
SingleHeaderConfigProperty()
Determines which HTTP requests are sent to the staging distribution.
public SingleHeaderConfigProperty()
Remarks
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 singleHeaderConfigProperty = new SingleHeaderConfigProperty {
Header = "header",
Value = "value"
};
Properties
Header
The request header name that you want CloudFront to send to your staging distribution.
public string Header { get; set; }
Property Value
Remarks
The header must contain the prefix aws-cf-cd-
.
Value
The request header value.
public string Value { get; set; }