skip_wait_time_for_instance_termination

CodeDeploy.Client.skip_wait_time_for_instance_termination(**kwargs)

In a blue/green deployment, overrides any specified wait time and starts terminating instances immediately after the traffic routing is complete.

Danger

This operation is deprecated and may not function as expected. This operation should not be used going forward and is only kept for the purpose of backwards compatiblity.

See also: AWS API Documentation

Request Syntax

response = client.skip_wait_time_for_instance_termination(
    deploymentId='string'
)
Parameters
deploymentId (string) -- The unique ID of a blue/green deployment for which you want to skip the instance termination wait time.
Returns
None

Exceptions

  • CodeDeploy.Client.exceptions.DeploymentIdRequiredException
  • CodeDeploy.Client.exceptions.DeploymentDoesNotExistException
  • CodeDeploy.Client.exceptions.DeploymentAlreadyCompletedException
  • CodeDeploy.Client.exceptions.InvalidDeploymentIdException
  • CodeDeploy.Client.exceptions.DeploymentNotStartedException
  • CodeDeploy.Client.exceptions.UnsupportedActionForDeploymentTypeException