Menu
AWS CodeDeploy
API Reference (API Version 2014-10-06)

BlueInstanceTerminationOption

Information about whether instances in the original environment are terminated when a blue/green deployment is successful.

Contents

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.

Type: String

Valid Values: TERMINATE | KEEP_ALIVE

Required: No

terminationWaitTimeInMinutes

The number of minutes to wait after a successful blue/green deployment before terminating instances from the original environment.

Type: Integer

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

On this page: