airflow.providers.amazon.aws.sensors.redshift

Module Contents

class airflow.providers.amazon.aws.sensors.redshift.AwsRedshiftClusterSensor(*, cluster_identifier: str, target_status: str = 'available', aws_conn_id: str = 'aws_default', **kwargs)[source]

Bases: airflow.sensors.base.BaseSensorOperator

Waits for a Redshift cluster to reach a specific status.

Parameters
  • cluster_identifier (str) -- The identifier for the cluster being pinged.

  • target_status (str) -- The cluster status desired.

template_fields = ['cluster_identifier', 'target_status'][source]
poke(self, context)[source]
get_hook(self)[source]

Create and return a RedshiftHook

Was this entry helpful?