BatchComputeEnvironmentSensor

Amazon

Asks for the state of the Batch compute environment until it reaches a failure state or success state. If the environment fails, the task will fail.

View on GitHub

Last Updated: Jan. 19, 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

compute_environmentBatch compute environment name
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 compute environment until it reaches a failure state or success state. If the environment 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 compute environment status

Was this page helpful?