Class CfnContinuousDeploymentPolicy.TrafficConfigProperty
The traffic configuration of your continuous deployment.
Inheritance
System.Object
CfnContinuousDeploymentPolicy.TrafficConfigProperty
Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class TrafficConfigProperty : Object, CfnContinuousDeploymentPolicy.ITrafficConfigProperty
Syntax (vb)
Public Class TrafficConfigProperty
Inherits Object
Implements CfnContinuousDeploymentPolicy.ITrafficConfigProperty
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 trafficConfigProperty = new TrafficConfigProperty {
Type = "type",
// the properties below are optional
SingleHeaderConfig = new SingleHeaderConfigProperty {
Header = "header",
Value = "value"
},
SingleWeightConfig = new SingleWeightConfigProperty {
Weight = 123,
// the properties below are optional
SessionStickinessConfig = new SessionStickinessConfigProperty {
IdleTtl = 123,
MaximumTtl = 123
}
}
};
Synopsis
Constructors
TrafficConfigProperty() |
Properties
SingleHeaderConfig | Determines which HTTP requests are sent to the staging distribution. |
SingleWeightConfig | Contains the percentage of traffic to send to the staging distribution. |
Type | The type of traffic configuration. |
Constructors
TrafficConfigProperty()
public TrafficConfigProperty()
Properties
SingleHeaderConfig
Determines which HTTP requests are sent to the staging distribution.
public object SingleHeaderConfig { get; set; }
Property Value
System.Object
Remarks
SingleWeightConfig
Contains the percentage of traffic to send to the staging distribution.
public object SingleWeightConfig { get; set; }
Property Value
System.Object
Remarks
Type
The type of traffic configuration.
public string Type { get; set; }
Property Value
System.String