BatchJobQueueSensor
AmazonAsks for the state of the Batch job queue until it reaches a failure state or success state. If the queue fails, the task will fail.
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
job_queueBatch job queue name
treat_non_existing_as_deletedIf True, a non-existing Batch job queue is considered as a deleted queue and as such a valid case.
aws_conn_idaws connection to use, defaults to ‘aws_default’
region_nameaws region name associated with the client
Documentation
Asks for the state of the Batch job queue until it reaches a failure state or success state. If the queue fails, the task will fail.
See also
For more information on how to use this sensor, take a look at the guide: Wait on an AWS Batch job queue status