Amazon SFTP to S3 Transfer Operator

AWS Transfer for SFTP provides Secure File Transfer Protocol (SFTP) access to a customer's S3 resources. For more information about the service visit Amazon Transfer for SFTP API documentation

SFTPToS3Operator

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

To get more information about operator visit: SFTPToS3Operator

Example usage:

airflow/providers/amazon/aws/example_dags/example_sftp_to_s3.pyView Source

create_sftp_to_s3_job = SFTPToS3Operator(
    task_id="create_sftp_to_s3_job",
    sftp_conn_id="sftp_conn_id",
    sftp_path="sftp_path",
    s3_conn_id="s3_conn_id",
    s3_bucket=S3_BUCKET,
    s3_key=S3_KEY,
)

Was this entry helpful?