Package com.pulumi.aws.codedeploy.inputs
Class DeploymentGroupBlueGreenDeploymentConfigDeploymentReadyOptionArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.codedeploy.inputs.DeploymentGroupBlueGreenDeploymentConfigDeploymentReadyOptionArgs.Builder
-
- Enclosing class:
- DeploymentGroupBlueGreenDeploymentConfigDeploymentReadyOptionArgs
public static final class DeploymentGroupBlueGreenDeploymentConfigDeploymentReadyOptionArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(DeploymentGroupBlueGreenDeploymentConfigDeploymentReadyOptionArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeploymentGroupBlueGreenDeploymentConfigDeploymentReadyOptionArgs.Builder
actionOnTimeout(com.pulumi.core.Output<java.lang.String> actionOnTimeout)
DeploymentGroupBlueGreenDeploymentConfigDeploymentReadyOptionArgs.Builder
actionOnTimeout(java.lang.String actionOnTimeout)
DeploymentGroupBlueGreenDeploymentConfigDeploymentReadyOptionArgs
build()
DeploymentGroupBlueGreenDeploymentConfigDeploymentReadyOptionArgs.Builder
waitTimeInMinutes(com.pulumi.core.Output<java.lang.Integer> waitTimeInMinutes)
DeploymentGroupBlueGreenDeploymentConfigDeploymentReadyOptionArgs.Builder
waitTimeInMinutes(java.lang.Integer waitTimeInMinutes)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(DeploymentGroupBlueGreenDeploymentConfigDeploymentReadyOptionArgs defaults)
-
-
Method Detail
-
actionOnTimeout
public DeploymentGroupBlueGreenDeploymentConfigDeploymentReadyOptionArgs.Builder actionOnTimeout(@Nullable com.pulumi.core.Output<java.lang.String> actionOnTimeout)
- Parameters:
actionOnTimeout
- 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 load balancer unless traffic is rerouted manually. If traffic is not rerouted manually before the end of the specified wait period, the deployment status is changed to Stopped.- Returns:
- builder
-
actionOnTimeout
public DeploymentGroupBlueGreenDeploymentConfigDeploymentReadyOptionArgs.Builder actionOnTimeout(java.lang.String actionOnTimeout)
- Parameters:
actionOnTimeout
- 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 load balancer unless traffic is rerouted manually. If traffic is not rerouted manually before the end of the specified wait period, the deployment status is changed to Stopped.- Returns:
- builder
-
waitTimeInMinutes
public DeploymentGroupBlueGreenDeploymentConfigDeploymentReadyOptionArgs.Builder waitTimeInMinutes(@Nullable com.pulumi.core.Output<java.lang.Integer> waitTimeInMinutes)
- Parameters:
waitTimeInMinutes
- The number of minutes to wait before the status of a blue/green deployment changed to Stopped if rerouting is not started manually. Applies only to the `STOP_DEPLOYMENT` option for `action_on_timeout`.- Returns:
- builder
-
waitTimeInMinutes
public DeploymentGroupBlueGreenDeploymentConfigDeploymentReadyOptionArgs.Builder waitTimeInMinutes(java.lang.Integer waitTimeInMinutes)
- Parameters:
waitTimeInMinutes
- The number of minutes to wait before the status of a blue/green deployment changed to Stopped if rerouting is not started manually. Applies only to the `STOP_DEPLOYMENT` option for `action_on_timeout`.- Returns:
- builder
-
build
public DeploymentGroupBlueGreenDeploymentConfigDeploymentReadyOptionArgs build()
-
-