public static interface CfnDeploymentConfig.TimeBasedCanaryProperty
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();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnDeploymentConfig.TimeBasedCanaryProperty.Builder
A builder for
CfnDeploymentConfig.TimeBasedCanaryProperty |
static class |
CfnDeploymentConfig.TimeBasedCanaryProperty.Jsii$Proxy
An implementation for
CfnDeploymentConfig.TimeBasedCanaryProperty |
Modifier and Type | Method and Description |
---|---|
static CfnDeploymentConfig.TimeBasedCanaryProperty.Builder |
builder() |
java.lang.Number |
getCanaryInterval()
The number of minutes between the first and second traffic shifts of a `TimeBasedCanary` deployment.
|
java.lang.Number |
getCanaryPercentage()
The percentage of traffic to shift in the first increment of a `TimeBasedCanary` deployment.
|
java.lang.Number getCanaryInterval()
java.lang.Number getCanaryPercentage()
static CfnDeploymentConfig.TimeBasedCanaryProperty.Builder builder()