AWS::CodeDeploy::DeploymentGroup BlueInstanceTerminationOption - AWS CloudFormation (original) (raw)

Information about whether instances in the original environment are terminated when a blue/green deployment is successful. BlueInstanceTerminationOption does not apply to Lambda deployments.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{
  "Action" : String,
  "TerminationWaitTimeInMinutes" : Integer
}

YAML

  Action: String
  TerminationWaitTimeInMinutes: Integer

Properties

Action

The action to take on instances in the original environment after a successful blue/green deployment.

Required: No

Type: String

Allowed values: TERMINATE | KEEP_ALIVE

Update requires: No interruption

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

Required: No

Type: Integer

Update requires: No interruption

BlueGreenDeploymentConfiguration

Deployment

Did this page help you? - Yes

Thanks for letting us know we're doing a good job!

If you've got a moment, please tell us what we did right so we can do more of it.

Did this page help you? - No

Thanks for letting us know this page needs work. We're sorry we let you down.

If you've got a moment, please tell us how we can make the documentation better.