Copies the specified DB instance or DB cluster snapshot

View on GitHub

Last Updated: Jan. 31, 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.


db_typeRequiredType of the DB - either “instance” or “cluster”
source_db_snapshot_identifierRequiredThe identifier of the source snapshot
target_db_snapshot_identifierRequiredThe identifier of the target snapshot
kms_key_idThe AWS KMS key identifier for an encrypted DB snapshot
tagsA dictionary of tags or a list of tags in format [{“Key”: “…”, “Value”: “…”},] USER Tagging
copy_tagsWhether to copy all tags from the source snapshot to the target snapshot (default False)
pre_signed_urlThe URL that contains a Signature Version 4 signed request
option_group_nameThe name of an option group to associate with the copy of the snapshot Only when db_type=’instance’
target_custom_availability_zoneThe external custom Availability Zone identifier for the target Only when db_type=’instance’
source_regionThe ID of the region that contains the snapshot to be copied
wait_for_completionIf True, waits for snapshot copy to complete. (default: True)


Copies the specified DB instance or DB cluster snapshot

See also

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

Was this page helpful?