airflow.providers.amazon.aws.transfers.s3_to_sftp
¶
Module Contents¶
-
class
airflow.providers.amazon.aws.transfers.s3_to_sftp.
S3ToSFTPOperator
(*, s3_bucket: str, s3_key: str, sftp_path: str, sftp_conn_id: str = 'ssh_default', s3_conn_id: str = 'aws_default', **kwargs)[source]¶ Bases:
airflow.models.BaseOperator
This operator enables the transferring of files from S3 to a SFTP server.
- Parameters
sftp_conn_id (str) -- The sftp connection id. The name or identifier for establishing a connection to the SFTP server.
sftp_path (str) -- The sftp remote path. This is the specified file path for uploading file to the SFTP server.
s3_conn_id (str) -- The s3 connection id. The name or identifier for establishing a connection to S3
s3_bucket (str) -- The targeted s3 bucket. This is the S3 bucket from where the file is downloaded.
s3_key (str) -- The targeted s3 key. This is the specified file path for downloading the file from S3.