airflow.providers.amazon.aws.sensors.redshift_cluster

Module Contents

Classes

RedshiftClusterSensor

Waits for a Redshift cluster to reach a specific status.

class airflow.providers.amazon.aws.sensors.redshift_cluster.RedshiftClusterSensor(*, cluster_identifier, target_status='available', aws_conn_id='aws_default', **kwargs)[source]

Bases: airflow.sensors.base.BaseSensorOperator

Waits for a Redshift cluster to reach a specific status.

See also

For more information on how to use this sensor, take a look at the guide: Wait on an Amazon Redshift cluster state

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

  • target_status (str) – The cluster status desired.

template_fields :Sequence[str] = ['cluster_identifier', 'target_status'][source]
poke(context)[source]

Function that the sensors defined while deriving this class should override.

get_hook()[source]

Create and return a RedshiftHook

Was this entry helpful?