@Stability(value=Stable) public static final class CfnEndpoint.TrafficRoutingConfigProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnEndpoint.TrafficRoutingConfigProperty>
CfnEndpoint.TrafficRoutingConfigProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnEndpoint.TrafficRoutingConfigProperty.Builder type(String type)
CfnEndpoint.TrafficRoutingConfigProperty.getType()type - Traffic routing strategy type. This parameter is required.
ALL_AT_ONCE : Endpoint traffic shifts to the new fleet in a single step.CANARY : Endpoint traffic shifts to the new fleet in two steps. The first step is the canary, which is a small portion of the traffic. The second step is the remainder of the traffic.LINEAR : Endpoint traffic shifts to the new fleet in n steps of a configurable size.this@Stability(value=Stable) public CfnEndpoint.TrafficRoutingConfigProperty.Builder canarySize(CfnEndpoint.CapacitySizeProperty canarySize)
CfnEndpoint.TrafficRoutingConfigProperty.getCanarySize()canarySize - Batch size for the first step to turn on traffic on the new endpoint fleet.
Value must be less than or equal to 50% of the variant's total instance count.this@Stability(value=Stable) public CfnEndpoint.TrafficRoutingConfigProperty.Builder canarySize(IResolvable canarySize)
CfnEndpoint.TrafficRoutingConfigProperty.getCanarySize()canarySize - Batch size for the first step to turn on traffic on the new endpoint fleet.
Value must be less than or equal to 50% of the variant's total instance count.this@Stability(value=Stable) public CfnEndpoint.TrafficRoutingConfigProperty.Builder linearStepSize(CfnEndpoint.CapacitySizeProperty linearStepSize)
CfnEndpoint.TrafficRoutingConfigProperty.getLinearStepSize()linearStepSize - Batch size for each step to turn on traffic on the new endpoint fleet.
Value must be 10-50% of the variant's total instance count.this@Stability(value=Stable) public CfnEndpoint.TrafficRoutingConfigProperty.Builder linearStepSize(IResolvable linearStepSize)
CfnEndpoint.TrafficRoutingConfigProperty.getLinearStepSize()linearStepSize - Batch size for each step to turn on traffic on the new endpoint fleet.
Value must be 10-50% of the variant's total instance count.this@Stability(value=Stable) public CfnEndpoint.TrafficRoutingConfigProperty.Builder waitIntervalInSeconds(Number waitIntervalInSeconds)
CfnEndpoint.TrafficRoutingConfigProperty.getWaitIntervalInSeconds()waitIntervalInSeconds - The waiting time (in seconds) between incremental steps to turn on traffic on the new endpoint fleet.this@Stability(value=Stable) public CfnEndpoint.TrafficRoutingConfigProperty build()
build in interface software.amazon.jsii.Builder<CfnEndpoint.TrafficRoutingConfigProperty>CfnEndpoint.TrafficRoutingConfigPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.