airflow.providers.amazon.aws.triggers.glue_databrew

Module Contents

Classes

GlueDataBrewJobCompleteTrigger

Watches for a Glue DataBrew job, triggers when it finishes.

class airflow.providers.amazon.aws.triggers.glue_databrew.GlueDataBrewJobCompleteTrigger(job_name, run_id, aws_conn_id, delay=10, max_attempts=60, **kwargs)[source]

Bases: airflow.providers.amazon.aws.triggers.base.AwsBaseWaiterTrigger

Watches for a Glue DataBrew job, triggers when it finishes.

Parameters
  • job_name (str) – Glue DataBrew job name

  • run_id (str) – the ID of the specific run to watch for that job

  • delay (int) – Number of seconds to wait between two checks. Default is 10 seconds.

  • max_attempts (int) – Maximum number of attempts to wait for the job to complete. Default is 60 attempts.

  • aws_conn_id (str) – The Airflow connection used for AWS credentials.

hook()[source]

Override in subclasses to return the right hook.

Was this entry helpful?