Class CfnDeploymentGroupPropsMixin.DeploymentReadyOptionProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.codedeploy.CfnDeploymentGroupPropsMixin.DeploymentReadyOptionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeploymentGroupPropsMixin.DeploymentReadyOptionProperty>
- Enclosing interface:
CfnDeploymentGroupPropsMixin.DeploymentReadyOptionProperty
@Stability(Stable)
public static final class CfnDeploymentGroupPropsMixin.DeploymentReadyOptionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeploymentGroupPropsMixin.DeploymentReadyOptionProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactionOnTimeout(String actionOnTimeout) build()Builds the configured instance.waitTimeInMinutes(Number waitTimeInMinutes)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
actionOnTimeout
@Stability(Stable) public CfnDeploymentGroupPropsMixin.DeploymentReadyOptionProperty.Builder actionOnTimeout(String actionOnTimeout) - Parameters:
actionOnTimeout- Information about when to reroute traffic from an original environment to a replacement environment in a blue/green deployment.- CONTINUE_DEPLOYMENT: Register new instances with the load balancer immediately after the new application revision is installed on the instances in the replacement environment.
- STOP_DEPLOYMENT: Do not register new instances with a load balancer unless traffic rerouting is started using ContinueDeployment . If traffic rerouting is not started before the end of the specified wait period, the deployment status is changed to Stopped.
- Returns:
this
-
waitTimeInMinutes
@Stability(Stable) public CfnDeploymentGroupPropsMixin.DeploymentReadyOptionProperty.Builder waitTimeInMinutes(Number waitTimeInMinutes) - Parameters:
waitTimeInMinutes- The number of minutes to wait before the status of a blue/green deployment is changed to Stopped if rerouting is not started manually. Applies only to theSTOP_DEPLOYMENToption foractionOnTimeout.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDeploymentGroupPropsMixin.DeploymentReadyOptionProperty>- Returns:
- a new instance of
CfnDeploymentGroupPropsMixin.DeploymentReadyOptionProperty - Throws:
NullPointerException- if any required attribute was not provided
-