SageMakerStopPipelineOperator

Amazon

Stops a SageMaker pipeline execution.

View on GitHub

Last Updated: Feb. 27, 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

configThe configuration to start the pipeline execution.
aws_conn_idThe AWS connection ID to use.
pipeline_exec_arnRequiredAmazon Resource Name of the pipeline execution to stop.
wait_for_completionIf true, this operator will only complete once the pipeline is fully stopped.
check_intervalHow long to wait between checks for pipeline status when waiting for completion.
verboseWhether to print steps details when waiting for completion. Defaults to true, consider turning off for pipelines that have thousands of steps.
fail_if_not_runningraises an exception if the pipeline stopped or succeeded before this was run
str

Documentation

Stops a SageMaker pipeline execution.

See also

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

Was this page helpful?