Skip to content

ContinueServiceDeploymentRequest

Source code in docs_src/capo_ecs/types/continue_service_deployment_request.py
class ContinueServiceDeploymentRequest(TypedDict, closed=True):
    service_deployment_arn: "capo_ecs.types.string.String"
    """<p>The ARN of the service deployment to continue or roll back.</p>"""
    hook_id: "capo_ecs.types.string.String"
    """<p>The ID of the paused lifecycle hook to act on. You can find the <code>hookId</code> by calling <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeServiceDeployments.html">DescribeServiceDeployments</a> and inspecting the <code>lifecycleHookDetails</code> field of the service deployment.</p>"""
    action: NotRequired[
        "capo_ecs.types.deployment_lifecycle_hook_action.DeploymentLifecycleHookAction"
    ]
    """<p>The action to take on the paused lifecycle hook. Valid values are:</p> <ul> <li> <p> <code>CONTINUE</code> - Proceeds the deployment to the next lifecycle stage.</p> </li> <li> <p> <code>ROLLBACK</code> - Rolls back the deployment to the previous service revision.</p> </li> </ul> <p>If no value is specified, the default action is <code>CONTINUE</code>.</p>"""

action instance-attribute

action: NotRequired[DeploymentLifecycleHookAction]

The action to take on the paused lifecycle hook. Valid values are:

  • CONTINUE - Proceeds the deployment to the next lifecycle stage.

  • ROLLBACK - Rolls back the deployment to the previous service revision.

If no value is specified, the default action is CONTINUE.

hook_id instance-attribute

hook_id: String

The ID of the paused lifecycle hook to act on. You can find the hookId by calling DescribeServiceDeployments and inspecting the lifecycleHookDetails field of the service deployment.

service_deployment_arn instance-attribute

service_deployment_arn: String

The ARN of the service deployment to continue or roll back.