Class TimeBasedCanaryTrafficRoutingProps
Construction properties for TimeBasedCanaryTrafficRouting
.
Inherited Members
Namespace: Amazon.CDK.AWS.CodeDeploy
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class TimeBasedCanaryTrafficRoutingProps : ITimeBasedCanaryTrafficRoutingProps, IBaseTrafficShiftingConfigProps
Syntax (vb)
Public Class TimeBasedCanaryTrafficRoutingProps 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
TimeBasedCanaryTrafficRoutingProps() | Construction properties for |
Properties
Interval | The amount of time between traffic shifts. |
Percentage | The percentage to increase traffic on each traffic shift. |
Constructors
TimeBasedCanaryTrafficRoutingProps()
Construction properties for TimeBasedCanaryTrafficRouting
.
public TimeBasedCanaryTrafficRoutingProps()
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"
});
Properties
Interval
The amount of time between traffic shifts.
public Duration Interval { get; set; }
Property Value
Remarks
ExampleMetadata: infused
Percentage
The percentage to increase traffic on each traffic shift.
public double Percentage { get; set; }
Property Value
Remarks
ExampleMetadata: infused