airflow.providers.amazon.aws.datafusion.object_storage¶
Classes¶
S3 Object Storage Provider using DataFusion's AmazonS3. |
Module Contents¶
- class airflow.providers.amazon.aws.datafusion.object_storage.S3ObjectStorageProvider(context=None)[source]¶
Bases:
airflow.providers.common.sql.datafusion.base.ObjectStorageProviderS3 Object Storage Provider using DataFusion’s AmazonS3.
- property get_storage_type: airflow.providers.common.sql.config.StorageType[source]¶
Return the storage type.
- create_object_store(path, connection_config=None)[source]¶
Create an S3 object store using DataFusion’s AmazonS3.
Credentials supplied on
connection_configtake precedence. Only whenconnection_config.credentialsis empty are they resolved from the Airflow connection named byconn_idviaAwsGenericHook, which picks up the standard AWS credential chain. Caller-suppliedextra_configkeys always override theregion/endpointderived from the connection.