Continue Service Deployment
| ecs_continue_service_deployment | R Documentation |
Continues or rolls back an Amazon ECS service deployment that is paused at a lifecycle hook¶
Description¶
Continues or rolls back an Amazon ECS service deployment that is paused at a lifecycle hook.
When a service deployment reaches a lifecycle stage that has a PAUSE
hook configured, the deployment pauses and waits for an explicit action.
Use this API to either continue the deployment to the next stage or roll
back to the previous service revision.
To find the hookId of the paused hook, call
describe_service_deployments and inspect the lifecycleHookDetails
field.
Usage¶
ecs_continue_service_deployment(serviceDeploymentArn, hookId, action)
Arguments¶
serviceDeploymentArn |
[required] The ARN of the service deployment to continue or roll back. |
hookId |
[required] The ID of the paused lifecycle hook to act on. You can
find the |
action |
The action to take on the paused lifecycle hook. Valid values are:
If no value is specified, the default action is
|
Value¶
A list with the following syntax:
list(
serviceDeploymentArn = "string"
)
Request syntax¶
svc$continue_service_deployment(
serviceDeploymentArn = "string",
hookId = "string",
action = "ROLLBACK"|"CONTINUE"
)