Interface DeploymentLifecycleHookTimeoutConfiguration.Builder

  • Method Details

    • timeoutInMinutes

      The number of minutes Amazon ECS waits for the lifecycle hook to complete before taking the timeout action.

      Parameters:
      timeoutInMinutes - The number of minutes Amazon ECS waits for the lifecycle hook to complete before taking the timeout action.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • action

      The action Amazon ECS takes when the lifecycle hook times out. Valid values are:

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

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

      Parameters:
      action - The action Amazon ECS takes when the lifecycle hook times out. Valid values are:

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

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

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • action

      The action Amazon ECS takes when the lifecycle hook times out. Valid values are:

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

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

      Parameters:
      action - The action Amazon ECS takes when the lifecycle hook times out. Valid values are:

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

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

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: