Interface CanaryTrafficRoutingConfig
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CanaryTrafficRoutingConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-11T15:55:55.019Z")
@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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCanaryTrafficRoutingConfig
static final class
An implementation forCanaryTrafficRoutingConfig
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The number of minutes between the first and second traffic shifts of aTimeBasedCanary
deployment.The percentage of traffic to shift in the first increment of aTimeBasedCanary
deployment.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 aTimeBasedCanary
deployment. -
getCanaryPercentage
The percentage of traffic to shift in the first increment of aTimeBasedCanary
deployment. -
builder
- Returns:
- a
CanaryTrafficRoutingConfig.Builder
ofCanaryTrafficRoutingConfig
-