airflow.providers.amazon.aws.sensors.redshift_cluster¶
Classes¶
Waits for a Redshift cluster to reach a specific status. |
Module Contents¶
- class airflow.providers.amazon.aws.sensors.redshift_cluster.RedshiftClusterSensor(*, cluster_identifier, target_status='available', deferrable=conf.getboolean('operators', 'default_deferrable', fallback=False), **kwargs)[source]¶
Bases:
airflow.providers.amazon.aws.sensors.base_aws.AwsBaseSensor
[airflow.providers.amazon.aws.hooks.redshift_cluster.RedshiftHook
]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.
deferrable (bool) – Run operator in the deferrable mode.
aws_conn_id – The Airflow connection used for AWS credentials. If this is
None
or empty then the default boto3 behaviour is used. If running Airflow in a distributed manner and aws_conn_id is None or empty, then default boto3 configuration would be used (and must be maintained on each worker node).region_name – AWS region_name. If not specified then the default boto3 behaviour is used.
verify – Whether or not to verify SSL certificates. See: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/core/session.html
- template_fields: collections.abc.Sequence[str][source]¶