airflow.providers.amazon.aws.sensors.step_function
¶
Module Contents¶
Classes¶
Asks for the state of the Step Function State Machine Execution until it |
- class airflow.providers.amazon.aws.sensors.step_function.StepFunctionExecutionSensor(*, execution_arn: str, aws_conn_id: str = 'aws_default', region_name: Optional[str] = None, **kwargs)[source]¶
Bases:
airflow.sensors.base.BaseSensorOperator
Asks for the state of the Step Function State Machine Execution until it reaches a failure state or success state. If it fails, failing the task.
On successful completion of the Execution the Sensor will do an XCom Push of the State Machine's output to output
- Parameters
- poke(self, context: airflow.utils.context.Context)[source]¶
Function that the sensors defined while deriving this class should override.
- get_hook(self) airflow.providers.amazon.aws.hooks.step_function.StepFunctionHook [source]¶
Create and return a StepFunctionHook