deploymentMode

The type of deployment to create. Valid values are:

  • STANDARD: Deploys the specified revision. This is the default behavior if deploymentMode is not specified.

  • RESTART: Restarts the application on the target instances using the revision from the deployment group's last successful deployment, without downloading a new revision. RESTART is supported only for EC2/On-premises in-place deployments.When deploymentMode is RESTART, the following apply:

    • The call is rejected for Amazon ECS and Lambda deployments.

    • The revision parameter (including its s3Location and gitHubLocation) must not be specified, and is rejected if provided. The revision is resolved by the service from the deployment group's last successful deployment.

    • The updateOutdatedInstancesOnly parameter must not be set to true, and is rejected if provided.