Class TimeBasedLinearTrafficRouting
Define a traffic routing config of type 'TimeBasedLinear'.
Inherited Members
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 |
Constructors
TimeBasedLinearTrafficRouting(ITimeBasedLinearTrafficRoutingProps)
Define a traffic routing config of type 'TimeBasedLinear'.
public TimeBasedLinearTrafficRouting(ITimeBasedLinearTrafficRoutingProps props)
Parameters
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
Remarks
ExampleMetadata: fixture=_generated
Percentage
The percentage to increase traffic on each traffic shift.
public virtual double Percentage { get; }
Property Value
Remarks
ExampleMetadata: fixture=_generated
Methods
Bind(Construct)
Return a TrafficRoutingConfig of type TimeBasedLinear.
public override ITrafficRoutingConfig Bind(Construct scope)
Parameters
- scope Construct
Returns
Overrides
Remarks
ExampleMetadata: fixture=_generated