Interface CanaryTrafficRoutingConfig
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CanaryTrafficRoutingConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:33.597Z")
@Stability(Stable)
public interface CanaryTrafficRoutingConfig
extends software.amazon.jsii.JsiiSerializable
Represents the configuration specific to canary traffic shifting.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.codedeploy.*;
CanaryTrafficRoutingConfig canaryTrafficRoutingConfig = CanaryTrafficRoutingConfig.builder()
.canaryInterval(123)
.canaryPercentage(123)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCanaryTrafficRoutingConfigstatic final classAn implementation forCanaryTrafficRoutingConfig -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The number of minutes between the first and second traffic shifts of aTimeBasedCanarydeployment.The percentage of traffic to shift in the first increment of aTimeBasedCanarydeployment.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCanaryInterval
The number of minutes between the first and second traffic shifts of aTimeBasedCanarydeployment. -
getCanaryPercentage
The percentage of traffic to shift in the first increment of aTimeBasedCanarydeployment. -
builder
- Returns:
- a
CanaryTrafficRoutingConfig.BuilderofCanaryTrafficRoutingConfig
-