Class CfnTrafficRoutingConfig
Traffic routing configuration settings.
Inheritance
Implements
Namespace: Amazon.CDK
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnTrafficRoutingConfig : Object, ICfnTrafficRoutingConfig
Syntax (vb)
Public Class CfnTrafficRoutingConfig
Inherits Object
Implements ICfnTrafficRoutingConfig
Remarks
The type of the CfnCodeDeployBlueGreenHookProps.trafficRoutingConfig
property.
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;
var cfnTrafficRoutingConfig = new CfnTrafficRoutingConfig {
Type = CfnTrafficRoutingType.ALL_AT_ONCE,
// the properties below are optional
TimeBasedCanary = new CfnTrafficRoutingTimeBasedCanary {
BakeTimeMins = 123,
StepPercentage = 123
},
TimeBasedLinear = new CfnTrafficRoutingTimeBasedLinear {
BakeTimeMins = 123,
StepPercentage = 123
}
};
Synopsis
Constructors
CfnTrafficRoutingConfig() |
Properties
TimeBasedCanary | The configuration for traffic routing when |
TimeBasedLinear | The configuration for traffic routing when |
Type | The type of traffic shifting used by the blue-green deployment configuration. |
Constructors
CfnTrafficRoutingConfig()
public CfnTrafficRoutingConfig()
Properties
TimeBasedCanary
The configuration for traffic routing when type
is CfnTrafficRoutingType.TIME_BASED_CANARY
.
public ICfnTrafficRoutingTimeBasedCanary TimeBasedCanary { get; set; }
Property Value
ICfnTrafficRoutingTimeBasedCanary
Remarks
Default: - none
TimeBasedLinear
The configuration for traffic routing when type
is CfnTrafficRoutingType.TIME_BASED_LINEAR
.
public ICfnTrafficRoutingTimeBasedLinear TimeBasedLinear { get; set; }
Property Value
ICfnTrafficRoutingTimeBasedLinear
Remarks
Default: - none
Type
The type of traffic shifting used by the blue-green deployment configuration.
public CfnTrafficRoutingType Type { get; set; }
Property Value