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: 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

bucket_keystrThe 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.
regionstrOSS region
bucket_namestrOSS bucket name
oss_conn_idOptional[str]The 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?