airflow.providers.amazon.aws.sensors.emr_job_flow
¶
Module Contents¶
-
class
airflow.providers.amazon.aws.sensors.emr_job_flow.
EmrJobFlowSensor
(*, job_flow_id: str, target_states: Optional[Iterable[str]] = None, failed_states: Optional[Iterable[str]] = None, **kwargs)[source]¶ Bases:
airflow.providers.amazon.aws.sensors.emr_base.EmrBaseSensor
Asks for the state of the EMR JobFlow (Cluster) until it reaches any of the target states. If it fails the sensor errors, failing the task.
With the default target states, sensor waits cluster to be terminated. When target_states is set to ['RUNNING', 'WAITING'] sensor waits until job flow to be ready (after 'STARTING' and 'BOOTSTRAPPING' states)
- Parameters