airflow.providers.amazon.aws.sensors.redshift_cluster
¶
Module Contents¶
Classes¶
Waits for a Redshift cluster to reach a specific status. |
- class airflow.providers.amazon.aws.sensors.redshift_cluster.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
- poke(self, context: airflow.utils.context.Context)[source]¶
Function that the sensors defined while deriving this class should override.
- get_hook(self) airflow.providers.amazon.aws.hooks.redshift_cluster.RedshiftHook [source]¶
Create and return a RedshiftHook