Interface CfnDeploymentConfig.TimeBasedLinearProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDeploymentConfig.TimeBasedLinearProperty.Jsii$Proxy
- Enclosing class:
CfnDeploymentConfig
@Stability(Stable)
public static interface CfnDeploymentConfig.TimeBasedLinearProperty
extends software.amazon.jsii.JsiiSerializable
A configuration that shifts traffic from one version of a Lambda function or ECS task set to another in equal increments, with an equal number of minutes between each increment.
The original and target Lambda function versions or ECS task sets are specified in the deployment's AppSpec file.
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.*;
TimeBasedLinearProperty timeBasedLinearProperty = TimeBasedLinearProperty.builder()
.linearInterval(123)
.linearPercentage(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDeploymentConfig.TimeBasedLinearPropertystatic final classAn implementation forCfnDeploymentConfig.TimeBasedLinearProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The number of minutes between each incremental traffic shift of aTimeBasedLineardeployment.The percentage of traffic that is shifted at the start of each increment of aTimeBasedLineardeployment.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getLinearInterval
The number of minutes between each incremental traffic shift of aTimeBasedLineardeployment.- See Also:
-
getLinearPercentage
The percentage of traffic that is shifted at the start of each increment of aTimeBasedLineardeployment.- See Also:
-
builder
-