Skip to content

Latest commit

 

History

History
50 lines (36 loc) · 1.81 KB

File metadata and controls

50 lines (36 loc) · 1.81 KB

Local Filesystem to Amazon S3 Transfer Operator

Use the LocalFilesystemToS3Operator transfer to copy data from the Airflow local filesystem to an Amazon Simple Storage Service (S3) file.

Prerequisite Tasks

Local to Amazon S3

This operator copies data from the local filesystem to an Amazon S3 file.

To get more information about this operator visit: :class:`~airflow.providers.amazon.aws.transfers.local_to_s3.LocalFilesystemToS3Operator`

Example usage:

.. exampleinclude:: /../../airflow/providers/amazon/aws/example_dags/example_local_to_s3.py
    :language: python
    :dedent: 4
    :start-after: [START howto_transfer_local_to_s3]
    :end-before: [END howto_transfer_local_to_s3]

Reference