@Stability(value=Stable)
public static interface CfnDeploymentConfig.TimeBasedLinearProperty
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.*;
TimeBasedLinearProperty timeBasedLinearProperty = TimeBasedLinearProperty.builder()
.linearInterval(123)
.linearPercentage(123)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnDeploymentConfig.TimeBasedLinearProperty.Builder
A builder for
CfnDeploymentConfig.TimeBasedLinearProperty |
static class |
CfnDeploymentConfig.TimeBasedLinearProperty.Jsii$Proxy
An implementation for
CfnDeploymentConfig.TimeBasedLinearProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnDeploymentConfig.TimeBasedLinearProperty.Builder |
builder() |
Number |
getLinearInterval()
The number of minutes between each incremental traffic shift of a `TimeBasedLinear` deployment.
|
Number |
getLinearPercentage()
The percentage of traffic that is shifted at the start of each increment of a `TimeBasedLinear` deployment.
|
@Stability(value=Stable) @NotNull Number getLinearInterval()
@Stability(value=Stable) @NotNull Number getLinearPercentage()
@Stability(value=Stable) static CfnDeploymentConfig.TimeBasedLinearProperty.Builder builder()
Copyright © 2022. All rights reserved.