S3ToSFTPOperator

Amazon

This operator enables the transferring of files from S3 to a SFTP server.

View on GitHub

Last Updated: Apr. 5, 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

sftp_conn_idThe sftp connection id. The name or identifier for establishing a connection to the SFTP server.
sftp_pathRequiredThe sftp remote path. This is the specified file path for uploading file to the SFTP server.
aws_conn_idaws connection to use
s3_bucketRequiredThe targeted s3 bucket. This is the S3 bucket from where the file is downloaded.
s3_keyRequiredThe targeted s3 key. This is the specified file path for downloading the file from S3.

Documentation

This operator enables the transferring of files from S3 to a SFTP server.

See also

For more information on how to use this operator, take a look at the guide: Amazon S3 To SFTP transfer operator

Example DAGs

Was this page helpful?