OSSUploadObjectOperator

Alibaba Cloud

This operator to upload an file-like object

View on GitHub

Last Updated: Aug. 7, 2021

Access Instructions

Install the Alibaba Cloud provider package into your Airflow environment.

Import the module into your DAG file and instantiate it with your desired params.

Parameters

keystrthe OSS path of the object
filestrlocal file to upload.
regionstrOSS region you want to create bucket
bucket_namestrThis is bucket name you want to create
oss_conn_idOptional[str]The Airflow connection used for OSS credentials.

Documentation

This operator to upload an file-like object

Was this page helpful?