Package software.amazon.awscdk
Interface CfnTrafficRoutingConfig
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTrafficRoutingConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-06T14:43:12.905Z")
@Stability(Stable)
public interface CfnTrafficRoutingConfig
extends software.amazon.jsii.JsiiSerializable
Traffic routing configuration settings.
The type of the CfnCodeDeployBlueGreenHookProps.trafficRoutingConfig
property.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.*; CfnTrafficRoutingConfig cfnTrafficRoutingConfig = CfnTrafficRoutingConfig.builder() .type(CfnTrafficRoutingType.ALL_AT_ONCE) // the properties below are optional .timeBasedCanary(CfnTrafficRoutingTimeBasedCanary.builder() .bakeTimeMins(123) .stepPercentage(123) .build()) .timeBasedLinear(CfnTrafficRoutingTimeBasedLinear.builder() .bakeTimeMins(123) .stepPercentage(123) .build()) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnTrafficRoutingConfig
static final class
An implementation forCfnTrafficRoutingConfig
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default CfnTrafficRoutingTimeBasedCanary
The configuration for traffic routing whentype
isCfnTrafficRoutingType.TIME_BASED_CANARY
.default CfnTrafficRoutingTimeBasedLinear
The configuration for traffic routing whentype
isCfnTrafficRoutingType.TIME_BASED_LINEAR
.getType()
The type of traffic shifting used by the blue-green deployment configuration.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getType
The type of traffic shifting used by the blue-green deployment configuration. -
getTimeBasedCanary
The configuration for traffic routing whentype
isCfnTrafficRoutingType.TIME_BASED_CANARY
.Default: - none
-
getTimeBasedLinear
The configuration for traffic routing whentype
isCfnTrafficRoutingType.TIME_BASED_LINEAR
.Default: - none
-
builder
- Returns:
- a
CfnTrafficRoutingConfig.Builder
ofCfnTrafficRoutingConfig
-