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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnDeploymentConfig.TimeBasedCanaryProperty
static final class
An implementation forCfnDeploymentConfig.TimeBasedCanaryProperty
-
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.- See Also:
-
getCanaryPercentage
The percentage of traffic to shift in the first increment of aTimeBasedCanary
deployment.- See Also:
-
builder
-