Interface CfnDeploymentConfig.TimeBasedCanaryProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDeploymentConfig.TimeBasedCanaryProperty.Jsii$Proxy
- Enclosing class:
- CfnDeploymentConfig
@Stability(Stable)
public static interface CfnDeploymentConfig.TimeBasedCanaryProperty
extends software.amazon.jsii.JsiiSerializable
A configuration that shifts traffic from one version of a Lambda function or Amazon ECS task set to another in two increments.
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.*;
TimeBasedCanaryProperty timeBasedCanaryProperty = TimeBasedCanaryProperty.builder()
.canaryInterval(123)
.canaryPercentage(123)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDeploymentConfig.TimeBasedCanaryPropertystatic final classAn implementation forCfnDeploymentConfig.TimeBasedCanaryProperty -
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
-