public static interface CfnDeploymentConfig.TrafficRoutingConfigProperty
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 java.lang.Object |
getTimeBasedCanary()
A configuration that shifts traffic from one version of a Lambda function or ECS task set to another in two increments.
|
default java.lang.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.
|
java.lang.String |
getType()
The type of traffic shifting ( `TimeBasedCanary` or `TimeBasedLinear` ) used by a deployment configuration.
|
java.lang.String getType()
default java.lang.Object getTimeBasedCanary()
The original and target Lambda function versions or ECS task sets are specified in the deployment's AppSpec file.
default java.lang.Object getTimeBasedLinear()
The original and target Lambda function versions or Amazon ECS task sets are specified in the deployment's AppSpec file.
static CfnDeploymentConfig.TrafficRoutingConfigProperty.Builder builder()