EmrStopNotebookExecutionOperator

Amazon

An operator that stops a running EMR notebook execution.

View on GitHub

Last Updated: Mar. 2, 2023

Access Instructions

Install the Amazon provider package into your Airflow environment.

Import the module into your DAG file and instantiate it with your desired params.

Parameters

notebook_execution_idThe unique identifier of the notebook execution.
wait_for_completionIf True, the operator will wait for the notebook. to be in a STOPPED or FINISHED state. Defaults to False.
aws_conn_idaws connection to use.
waiter_max_attemptsMaximum number of tries before failing.
waiter_delayNumber of seconds between polling the state of the notebook.
waiter_countdownTotal amount of time the operator will wait for the notebook to stop. Defaults to 25 * 60 seconds. (Deprecated. Please use waiter_max_attempts.)
waiter_check_interval_secondsNumber of seconds between polling the state of the notebook. Defaults to 60 seconds. (Deprecated. Please use waiter_delay.)

Documentation

An operator that stops a running EMR notebook execution.

See also

For more information on how to use this operator, take a look at the guide: Stop an EMR notebook execution

Was this page helpful?