Show / Hide Table of Contents

Class TimeBasedLinearTrafficRouting

Define a traffic routing config of type 'TimeBasedLinear'.

Inheritance
object
TrafficRouting
TimeBasedLinearTrafficRouting
Inherited Members
TrafficRouting.AllAtOnce()
TrafficRouting.TimeBasedCanary(ITimeBasedCanaryTrafficRoutingProps)
TrafficRouting.TimeBasedLinear(ITimeBasedLinearTrafficRoutingProps)
Namespace: Amazon.CDK.AWS.CodeDeploy
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class TimeBasedLinearTrafficRouting : TrafficRouting
Syntax (vb)
Public Class TimeBasedLinearTrafficRouting Inherits TrafficRouting
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 timeBasedLinearTrafficRouting = TimeBasedLinearTrafficRouting.AllAtOnce();

Synopsis

Constructors

TimeBasedLinearTrafficRouting(ITimeBasedLinearTrafficRoutingProps)

Define a traffic routing config of type 'TimeBasedLinear'.

Properties

Interval

The amount of time between additional traffic shifts.

Percentage

The percentage to increase traffic on each traffic shift.

Methods

Bind(Construct)

Return a TrafficRoutingConfig of type TimeBasedLinear.

Constructors

TimeBasedLinearTrafficRouting(ITimeBasedLinearTrafficRoutingProps)

Define a traffic routing config of type 'TimeBasedLinear'.

public TimeBasedLinearTrafficRouting(ITimeBasedLinearTrafficRoutingProps props)
Parameters
props ITimeBasedLinearTrafficRoutingProps
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 timeBasedLinearTrafficRouting = TimeBasedLinearTrafficRouting.AllAtOnce();

Properties

Interval

The amount of time between additional traffic shifts.

public virtual Duration Interval { get; }
Property Value

Duration

Remarks

ExampleMetadata: fixture=_generated

Percentage

The percentage to increase traffic on each traffic shift.

public virtual double Percentage { get; }
Property Value

double

Remarks

ExampleMetadata: fixture=_generated

Methods

Bind(Construct)

Return a TrafficRoutingConfig of type TimeBasedLinear.

public override ITrafficRoutingConfig Bind(Construct scope)
Parameters
scope Construct
Returns

ITrafficRoutingConfig

Overrides
TrafficRouting.Bind(Construct)
Remarks

ExampleMetadata: fixture=_generated

Back to top Generated by DocFX