@Stability(value=Stable)
public static interface CfnDeploymentConfig.TrafficRoutingConfigProperty
extends software.amazon.jsii.JsiiSerializable
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.*; TrafficRoutingConfigProperty trafficRoutingConfigProperty = TrafficRoutingConfigProperty.builder() .type("type") // the properties below are optional .timeBasedCanary(TimeBasedCanaryProperty.builder() .canaryInterval(123) .canaryPercentage(123) .build()) .timeBasedLinear(TimeBasedLinearProperty.builder() .linearInterval(123) .linearPercentage(123) .build()) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnDeploymentConfig.TrafficRoutingConfigProperty.Builder
A builder for
CfnDeploymentConfig.TrafficRoutingConfigProperty |
static class |
CfnDeploymentConfig.TrafficRoutingConfigProperty.Jsii$Proxy
An implementation for
CfnDeploymentConfig.TrafficRoutingConfigProperty |
Modifier and Type | Method and Description |
---|---|
static CfnDeploymentConfig.TrafficRoutingConfigProperty.Builder |
builder() |
default Object |
getTimeBasedCanary()
A configuration that shifts traffic from one version of a Lambda function or ECS task set to another in two increments.
|
default Object |
getTimeBasedLinear()
A configuration that shifts traffic from one version of a Lambda function or Amazon ECS task set to another in equal increments, with an equal number of minutes between each increment.
|
String |
getType()
The type of traffic shifting ( `TimeBasedCanary` or `TimeBasedLinear` ) used by a deployment configuration.
|
@Stability(value=Stable) @NotNull String getType()
@Stability(value=Stable) @Nullable default Object getTimeBasedCanary()
The original and target Lambda function versions or ECS task sets are specified in the deployment's AppSpec file.
@Stability(value=Stable) @Nullable default Object getTimeBasedLinear()
The original and target Lambda function versions or Amazon ECS task sets are specified in the deployment's AppSpec file.
@Stability(value=Stable) static CfnDeploymentConfig.TrafficRoutingConfigProperty.Builder builder()
Copyright © 2022. All rights reserved.