Show / Hide Table of Contents

Class CfnTrafficRoutingConfig

Traffic routing configuration settings.

Inheritance
object
CfnTrafficRoutingConfig
Implements
ICfnTrafficRoutingConfig
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnTrafficRoutingConfig : ICfnTrafficRoutingConfig
Syntax (vb)
Public Class CfnTrafficRoutingConfig 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()

Traffic routing configuration settings.

Properties

TimeBasedCanary

The configuration for traffic routing when type is CfnTrafficRoutingType.TIME_BASED_CANARY.

TimeBasedLinear

The configuration for traffic routing when type is CfnTrafficRoutingType.TIME_BASED_LINEAR.

Type

The type of traffic shifting used by the blue-green deployment configuration.

Constructors

CfnTrafficRoutingConfig()

Traffic routing configuration settings.

public CfnTrafficRoutingConfig()
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
                 }
             };

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

CfnTrafficRoutingType

Remarks

The type of the CfnCodeDeployBlueGreenHookProps.trafficRoutingConfig property.

ExampleMetadata: fixture=_generated

Implements

ICfnTrafficRoutingConfig
Back to top Generated by DocFX