CopyableBuilder<BlueInstanceTerminationOption.Builder,BlueInstanceTerminationOption>
, SdkBuilder<BlueInstanceTerminationOption.Builder,BlueInstanceTerminationOption>
public static interface BlueInstanceTerminationOption.Builder extends CopyableBuilder<BlueInstanceTerminationOption.Builder,BlueInstanceTerminationOption>
Modifier and Type | Method | Description |
---|---|---|
BlueInstanceTerminationOption.Builder |
action(String action) |
The action to take on instances in the original environment after a successful blue/green deployment.
|
BlueInstanceTerminationOption.Builder |
action(InstanceAction action) |
The action to take on instances in the original environment after a successful blue/green deployment.
|
BlueInstanceTerminationOption.Builder |
terminationWaitTimeInMinutes(Integer terminationWaitTimeInMinutes) |
The number of minutes to wait after a successful blue/green deployment before terminating instances from the
original environment.
|
copy
apply, build
BlueInstanceTerminationOption.Builder action(String action)
The action to take on instances in the original environment after a successful blue/green deployment.
TERMINATE: Instances are terminated after a specified wait time.
KEEP_ALIVE: Instances are left running after they are deregistered from the load balancer and removed from the deployment group.
action
- The action to take on instances in the original environment after a successful blue/green
deployment.
TERMINATE: Instances are terminated after a specified wait time.
KEEP_ALIVE: Instances are left running after they are deregistered from the load balancer and removed from the deployment group.
InstanceAction
BlueInstanceTerminationOption.Builder action(InstanceAction action)
The action to take on instances in the original environment after a successful blue/green deployment.
TERMINATE: Instances are terminated after a specified wait time.
KEEP_ALIVE: Instances are left running after they are deregistered from the load balancer and removed from the deployment group.
action
- The action to take on instances in the original environment after a successful blue/green
deployment.
TERMINATE: Instances are terminated after a specified wait time.
KEEP_ALIVE: Instances are left running after they are deregistered from the load balancer and removed from the deployment group.
InstanceAction
BlueInstanceTerminationOption.Builder terminationWaitTimeInMinutes(Integer terminationWaitTimeInMinutes)
The number of minutes to wait after a successful blue/green deployment before terminating instances from the original environment.
terminationWaitTimeInMinutes
- The number of minutes to wait after a successful blue/green deployment before terminating instances
from the original environment.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.