Class CanaryTrafficRoutingConfig
Represents the configuration specific to canary traffic shifting.
Inheritance
System.Object
CanaryTrafficRoutingConfig
Implements
Namespace: Amazon.CDK.AWS.CodeDeploy
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CanaryTrafficRoutingConfig : Object, ICanaryTrafficRoutingConfig
Syntax (vb)
Public Class CanaryTrafficRoutingConfig
Inherits Object
Implements ICanaryTrafficRoutingConfig
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 canaryTrafficRoutingConfig = new CanaryTrafficRoutingConfig {
CanaryInterval = 123,
CanaryPercentage = 123
};
Synopsis
Constructors
CanaryTrafficRoutingConfig() |
Properties
CanaryInterval | The number of minutes between the first and second traffic shifts of a |
CanaryPercentage | The percentage of traffic to shift in the first increment of a |
Constructors
CanaryTrafficRoutingConfig()
public CanaryTrafficRoutingConfig()
Properties
CanaryInterval
The number of minutes between the first and second traffic shifts of a TimeBasedCanary
deployment.
public double CanaryInterval { get; set; }
Property Value
System.Double
CanaryPercentage
The percentage of traffic to shift in the first increment of a TimeBasedCanary
deployment.
public double CanaryPercentage { get; set; }
Property Value
System.Double