RedshiftCreateClusterSnapshotOperator

Amazon

Creates a manual snapshot of the specified cluster. The cluster must be in the available state

View on GitHub

Last Updated: Apr. 3, 2023

Access Instructions

Install the Amazon provider package into your Airflow environment.

Import the module into your DAG file and instantiate it with your desired params.

Parameters

snapshot_identifierRequiredA unique identifier for the snapshot that you are requesting
cluster_identifierRequiredThe cluster identifier for which you want a snapshot
retention_periodThe number of days that a manual snapshot is retained. If the value is -1, the manual snapshot is retained indefinitely.
wait_for_completionWhether wait for the cluster snapshot to be in available state
poll_intervalTime (in seconds) to wait between two consecutive calls to check state
max_attemptThe maximum number of attempts to be made to check the state
aws_conn_idThe Airflow connection used for AWS credentials. The default connection id is aws_default

Documentation

Creates a manual snapshot of the specified cluster. The cluster must be in the available state

See also

For more information on how to use this operator, take a look at the guide: Create an Amazon Redshift cluster snapshot

Was this page helpful?