@Stability(value=Stable) public static final class CfnEndpoint.BlueGreenUpdatePolicyProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnEndpoint.BlueGreenUpdatePolicyProperty>
CfnEndpoint.BlueGreenUpdatePolicyProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnEndpoint.BlueGreenUpdatePolicyProperty |
build()
Builds the configured instance.
|
CfnEndpoint.BlueGreenUpdatePolicyProperty.Builder |
maximumExecutionTimeoutInSeconds(Number maximumExecutionTimeoutInSeconds)
|
CfnEndpoint.BlueGreenUpdatePolicyProperty.Builder |
terminationWaitInSeconds(Number terminationWaitInSeconds)
Sets the value of
CfnEndpoint.BlueGreenUpdatePolicyProperty.getTerminationWaitInSeconds() |
CfnEndpoint.BlueGreenUpdatePolicyProperty.Builder |
trafficRoutingConfiguration(CfnEndpoint.TrafficRoutingConfigProperty trafficRoutingConfiguration)
|
CfnEndpoint.BlueGreenUpdatePolicyProperty.Builder |
trafficRoutingConfiguration(IResolvable trafficRoutingConfiguration)
|
@Stability(value=Stable) public CfnEndpoint.BlueGreenUpdatePolicyProperty.Builder trafficRoutingConfiguration(CfnEndpoint.TrafficRoutingConfigProperty trafficRoutingConfiguration)
trafficRoutingConfiguration - Defines the traffic routing strategy to shift traffic from the old fleet to the new fleet during an endpoint deployment. This parameter is required.this@Stability(value=Stable) public CfnEndpoint.BlueGreenUpdatePolicyProperty.Builder trafficRoutingConfiguration(IResolvable trafficRoutingConfiguration)
trafficRoutingConfiguration - Defines the traffic routing strategy to shift traffic from the old fleet to the new fleet during an endpoint deployment. This parameter is required.this@Stability(value=Stable) public CfnEndpoint.BlueGreenUpdatePolicyProperty.Builder maximumExecutionTimeoutInSeconds(Number maximumExecutionTimeoutInSeconds)
maximumExecutionTimeoutInSeconds - Maximum execution timeout for the deployment.
Note that the timeout value should be larger than the total waiting time specified in TerminationWaitInSeconds and WaitIntervalInSeconds .this@Stability(value=Stable) public CfnEndpoint.BlueGreenUpdatePolicyProperty.Builder terminationWaitInSeconds(Number terminationWaitInSeconds)
CfnEndpoint.BlueGreenUpdatePolicyProperty.getTerminationWaitInSeconds()terminationWaitInSeconds - Additional waiting time in seconds after the completion of an endpoint deployment before terminating the old endpoint fleet.
Default is 0.this@Stability(value=Stable) public CfnEndpoint.BlueGreenUpdatePolicyProperty build()
build in interface software.amazon.jsii.Builder<CfnEndpoint.BlueGreenUpdatePolicyProperty>CfnEndpoint.BlueGreenUpdatePolicyPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.