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: