Class TimeBasedCanaryTrafficRoutingProps
Construction properties for TimeBasedCanaryTrafficRouting
.
Inheritance
Namespace: Amazon.CDK.AWS.CodeDeploy
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class TimeBasedCanaryTrafficRoutingProps : Object, ITimeBasedCanaryTrafficRoutingProps, IBaseTrafficShiftingConfigProps
Syntax (vb)
Public Class TimeBasedCanaryTrafficRoutingProps
Inherits Object
Implements ITimeBasedCanaryTrafficRoutingProps, IBaseTrafficShiftingConfigProps
Remarks
ExampleMetadata: infused
Examples
var config = new LambdaDeploymentConfig(this, "CustomConfig", new LambdaDeploymentConfigProps {
TrafficRouting = new TimeBasedCanaryTrafficRouting(new TimeBasedCanaryTrafficRoutingProps {
Interval = Duration.Minutes(15),
Percentage = 5
}),
DeploymentConfigName = "MyDeploymentConfig"
});
Synopsis
Constructors
Time |
Properties
Interval | The amount of time between traffic shifts. |
Percentage | The percentage to increase traffic on each traffic shift. |
Constructors
TimeBasedCanaryTrafficRoutingProps()
public TimeBasedCanaryTrafficRoutingProps()
Properties
Interval
The amount of time between traffic shifts.
public Duration Interval { get; set; }
Property Value
Percentage
The percentage to increase traffic on each traffic shift.
public double Percentage { get; set; }
Property Value
System.