airflow.contrib.sensors.aws_redshift_cluster_sensor

Module Contents

class airflow.contrib.sensors.aws_redshift_cluster_sensor.AwsRedshiftClusterSensor(cluster_identifier, target_status='available', aws_conn_id='aws_default', *args, **kwargs)[source]

Bases: airflow.sensors.base_sensor_operator.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]

Was this entry helpful?