Interface BlueInstanceTerminationOption.Builder

All Superinterfaces:
Buildable, CopyableBuilder<BlueInstanceTerminationOption.Builder,BlueInstanceTerminationOption>, SdkBuilder<BlueInstanceTerminationOption.Builder,BlueInstanceTerminationOption>, SdkPojo
Enclosing class:
BlueInstanceTerminationOption

public static interface BlueInstanceTerminationOption.Builder extends SdkPojo, CopyableBuilder<BlueInstanceTerminationOption.Builder,BlueInstanceTerminationOption>
  • Method Details

    • 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.

      Parameters:
      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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.

      Parameters:
      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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • terminationWaitTimeInMinutes

      BlueInstanceTerminationOption.Builder terminationWaitTimeInMinutes(Integer terminationWaitTimeInMinutes)

      For an Amazon EC2 deployment, the number of minutes to wait after a successful blue/green deployment before terminating instances from the original environment.

      For an Amazon ECS deployment, the number of minutes before deleting the original (blue) task set. During an Amazon ECS deployment, CodeDeploy shifts traffic from the original (blue) task set to a replacement (green) task set.

      The maximum setting is 2880 minutes (2 days).

      Parameters:
      terminationWaitTimeInMinutes - For an Amazon EC2 deployment, the number of minutes to wait after a successful blue/green deployment before terminating instances from the original environment.

      For an Amazon ECS deployment, the number of minutes before deleting the original (blue) task set. During an Amazon ECS deployment, CodeDeploy shifts traffic from the original (blue) task set to a replacement (green) task set.

      The maximum setting is 2880 minutes (2 days).

      Returns:
      Returns a reference to this object so that method calls can be chained together.