OSSUploadObjectOperator

Alibaba Cloud

This operator to upload an file-like object

View on GitHub

Last Updated: Oct. 23, 2022

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

keythe OSS path of the object
filelocal file to upload.
regionOSS region you want to create bucket
bucket_nameThis is bucket name you want to create
oss_conn_idThe Airflow connection used for OSS credentials.

Documentation

This operator to upload an file-like object

Was this page helpful?