Skip to content

Attempts to stop an ongoing deployment

Description

Attempts to stop an ongoing deployment.

Usage

codedeploy_stop_deployment(deploymentId, autoRollbackEnabled)

Arguments

  • deploymentId

    [required] The unique ID of a deployment.

  • autoRollbackEnabled

    Indicates, when a deployment is stopped, whether instances that have been updated should be rolled back to the previous version of the application revision.

Value

A list with the following syntax:

list(
  status = "Pending"|"Succeeded",
  statusMessage = "string"
)

Request syntax

svc$stop_deployment(
  deploymentId = "string",
  autoRollbackEnabled = TRUE|FALSE
)