Class LinearTrafficRoutingConfig
Represents the configuration specific to linear traffic shifting.
Inheritance
System.Object
LinearTrafficRoutingConfig
Implements
Namespace: Amazon.CDK.AWS.CodeDeploy
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class LinearTrafficRoutingConfig : Object, ILinearTrafficRoutingConfig
Syntax (vb)
Public Class LinearTrafficRoutingConfig
Inherits Object
Implements ILinearTrafficRoutingConfig
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.CodeDeploy;
var linearTrafficRoutingConfig = new LinearTrafficRoutingConfig {
LinearInterval = 123,
LinearPercentage = 123
};
Synopsis
Constructors
LinearTrafficRoutingConfig() |
Properties
LinearInterval | The number of minutes between each incremental traffic shift of a |
LinearPercentage | The percentage of traffic that is shifted at the start of each increment of a |
Constructors
LinearTrafficRoutingConfig()
public LinearTrafficRoutingConfig()
Properties
LinearInterval
The number of minutes between each incremental traffic shift of a TimeBasedLinear
deployment.
public double LinearInterval { get; set; }
Property Value
System.Double
LinearPercentage
The percentage of traffic that is shifted at the start of each increment of a TimeBasedLinear
deployment.
public double LinearPercentage { get; set; }
Property Value
System.Double