RdsCreateDbSnapshotOperator

Amazon

Creates a snapshot of a DB instance or DB cluster. The source DB instance or cluster must be in the available or storage-optimization state.

View on GitHub

Last Updated: Jun. 28, 2022

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

db_typeRequiredType of the DB - either “instance” or “cluster”
db_identifierRequiredThe identifier of the instance or cluster that you want to create the snapshot of
db_snapshot_identifierRequiredThe identifier for the DB snapshot
tagsA list of tags in format [{“Key”: “something”, “Value”: “something”},] `USER Tagging

Documentation

Creates a snapshot of a DB instance or DB cluster. The source DB instance or cluster must be in the available or storage-optimization state.

See also

For more information on how to use this operator, take a look at the guide: Create a database snapshot

Was this page helpful?