@Stability(value=Stable)
public static interface CfnDeploymentConfig.TimeBasedCanaryProperty
extends software.amazon.jsii.JsiiSerializable
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() |
Number |
getCanaryInterval()
The number of minutes between the first and second traffic shifts of a `TimeBasedCanary` deployment.
|
Number |
getCanaryPercentage()
The percentage of traffic to shift in the first increment of a `TimeBasedCanary` deployment.
|
@Stability(value=Stable) @NotNull Number getCanaryInterval()
@Stability(value=Stable) @NotNull Number getCanaryPercentage()
@Stability(value=Stable) static CfnDeploymentConfig.TimeBasedCanaryProperty.Builder builder()
Copyright © 2022. All rights reserved.