Interface ICfnTrafficRoutingConfig
Traffic routing configuration settings.
public interface ICfnTrafficRoutingConfig
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
}
};
Remarks
The type of the {@link CfnCodeDeployBlueGreenHookProps.trafficRoutingConfig} property.
ExampleMetadata: fixture=_generated
Properties
TimeBasedCanary
The configuration for traffic routing when {@link type} is {@link CfnTrafficRoutingType.TIME_BASED_CANARY}.
ICfnTrafficRoutingTimeBasedCanary? TimeBasedCanary { get; }
Property Value
Remarks
Default: - none
TimeBasedLinear
The configuration for traffic routing when {@link type} is {@link CfnTrafficRoutingType.TIME_BASED_LINEAR}.
ICfnTrafficRoutingTimeBasedLinear? TimeBasedLinear { get; }
Property Value
Remarks
Default: - none
Type
The type of traffic shifting used by the blue-green deployment configuration.
CfnTrafficRoutingType Type { get; }