Show / Hide Table of Contents

Class TimeBasedCanaryTrafficRoutingProps

Construction properties for TimeBasedCanaryTrafficRouting.

Inheritance
object
TimeBasedCanaryTrafficRoutingProps
Implements
ITimeBasedCanaryTrafficRoutingProps
IBaseTrafficShiftingConfigProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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 TimeBasedCanaryTrafficRouting.

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

Duration

Remarks

ExampleMetadata: infused

Percentage

The percentage to increase traffic on each traffic shift.

public double Percentage { get; set; }
Property Value

double

Remarks

ExampleMetadata: infused

Implements

ITimeBasedCanaryTrafficRoutingProps
IBaseTrafficShiftingConfigProps
Back to top Generated by DocFX