EcsTaskDefinitionStateSensor
AmazonPolls the task definition state until it reaches a terminal state. Raises an AirflowException with the failure reason if a failed state is reached.
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
task_definitionRequiredThe family for the latest ACTIVE revision, family and revision (family:revision ) for a specific revision in the family, or full Amazon Resource Name (ARN) of the task definition.
target_stateSuccess state to watch for. (Default: “ACTIVE”)
Documentation
Polls the task definition state until it reaches a terminal state. Raises an AirflowException with the failure reason if a failed state is reached.
See also
For more information on how to use this operator, take a look at the guide: AWS ECS Task Definition State Sensor