Interface LinearTrafficRoutingConfig
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
LinearTrafficRoutingConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)",
date="2024-05-02T15:58:23.017Z")
@Stability(Stable)
public interface LinearTrafficRoutingConfig
extends software.amazon.jsii.JsiiSerializable
Represents the configuration specific to linear 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.*; LinearTrafficRoutingConfig linearTrafficRoutingConfig = LinearTrafficRoutingConfig.builder() .linearInterval(123) .linearPercentage(123) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forLinearTrafficRoutingConfig
static final class
An implementation forLinearTrafficRoutingConfig
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The number of minutes between each incremental traffic shift of aTimeBasedLinear
deployment.The percentage of traffic that is shifted at the start of each increment of aTimeBasedLinear
deployment.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getLinearInterval
The number of minutes between each incremental traffic shift of aTimeBasedLinear
deployment. -
getLinearPercentage
The percentage of traffic that is shifted at the start of each increment of aTimeBasedLinear
deployment. -
builder
- Returns:
- a
LinearTrafficRoutingConfig.Builder
ofLinearTrafficRoutingConfig
-