OSSKeySensor

Alibaba Cloud

Waits for a key (a file-like instance on OSS) to be present in a OSS bucket. OSS being a key/value it does not support folders. The path is just a key a resource.

View on GitHub

Last Updated: Nov. 14, 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

bucket_keyThe key being waited on. Supports full oss:// style url or relative path from root level. When it’s specified as a full oss:// url, please leave bucket_name as None.
regionOSS region
bucket_nameOSS bucket name
oss_conn_idThe Airflow connection used for OSS credentials.

Documentation

Waits for a key (a file-like instance on OSS) to be present in a OSS bucket. OSS being a key/value it does not support folders. The path is just a key a resource.

Was this page helpful?