RdsStartExportTaskOperator

Amazon

Starts an export of a snapshot to Amazon S3. The provided IAM role must have access to the S3 bucket.

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.

Parameters

export_task_identifierRequiredA unique identifier for the snapshot export task.
source_arnRequiredThe Amazon Resource Name (ARN) of the snapshot to export to Amazon S3.
s3_bucket_nameRequiredThe name of the Amazon S3 bucket to export the snapshot to.
iam_role_arnRequiredThe name of the IAM role to use for writing to the Amazon S3 bucket.
kms_key_idRequiredThe ID of the Amazon Web Services KMS key to use to encrypt the snapshot.
s3_prefixThe Amazon S3 bucket prefix to use as the file name and path of the exported snapshot.
export_onlyThe data to be exported from the snapshot.
wait_for_completionIf True, waits for the DB snapshot export to complete. (default: True)

Documentation

Starts an export of a snapshot to Amazon S3. The provided IAM role must have access to the S3 bucket.

See also

For more information on how to use this operator, take a look at the guide: Export an Amazon RDS snapshot to Amazon S3

Was this page helpful?