@Stability(value=Stable) public static final class CfnDeploymentConfig.TrafficRoutingConfigProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnDeploymentConfig.TrafficRoutingConfigProperty>
CfnDeploymentConfig.TrafficRoutingConfigProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnDeploymentConfig.TrafficRoutingConfigProperty.Builder type(String type)
CfnDeploymentConfig.TrafficRoutingConfigProperty.getType()type - The type of traffic shifting ( `TimeBasedCanary` or `TimeBasedLinear` ) used by a deployment configuration. This parameter is required.this@Stability(value=Stable) public CfnDeploymentConfig.TrafficRoutingConfigProperty.Builder timeBasedCanary(CfnDeploymentConfig.TimeBasedCanaryProperty timeBasedCanary)
CfnDeploymentConfig.TrafficRoutingConfigProperty.getTimeBasedCanary()timeBasedCanary - A configuration that shifts traffic from one version of a Lambda function or ECS task set to another in two increments.
The original and target Lambda function versions or ECS task sets are specified in the deployment's AppSpec file.this@Stability(value=Stable) public CfnDeploymentConfig.TrafficRoutingConfigProperty.Builder timeBasedCanary(IResolvable timeBasedCanary)
CfnDeploymentConfig.TrafficRoutingConfigProperty.getTimeBasedCanary()timeBasedCanary - A configuration that shifts traffic from one version of a Lambda function or ECS task set to another in two increments.
The original and target Lambda function versions or ECS task sets are specified in the deployment's AppSpec file.this@Stability(value=Stable) public CfnDeploymentConfig.TrafficRoutingConfigProperty.Builder timeBasedLinear(CfnDeploymentConfig.TimeBasedLinearProperty timeBasedLinear)
CfnDeploymentConfig.TrafficRoutingConfigProperty.getTimeBasedLinear()timeBasedLinear - 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.
The original and target Lambda function versions or Amazon ECS task sets are specified in the deployment's AppSpec file.this@Stability(value=Stable) public CfnDeploymentConfig.TrafficRoutingConfigProperty.Builder timeBasedLinear(IResolvable timeBasedLinear)
CfnDeploymentConfig.TrafficRoutingConfigProperty.getTimeBasedLinear()timeBasedLinear - 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.
The original and target Lambda function versions or Amazon ECS task sets are specified in the deployment's AppSpec file.this@Stability(value=Stable) public CfnDeploymentConfig.TrafficRoutingConfigProperty build()
build in interface software.amazon.jsii.Builder<CfnDeploymentConfig.TrafficRoutingConfigProperty>CfnDeploymentConfig.TrafficRoutingConfigPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.