airflow.providers.amazon.aws.datafusion.object_storage

Classes

S3ObjectStorageProvider

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.ObjectStorageProvider

S3 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_config take precedence. Only when connection_config.credentials is empty are they resolved from the Airflow connection named by conn_id via AwsGenericHook, which picks up the standard AWS credential chain. Caller-supplied extra_config keys always override the region / endpoint derived from the connection.

get_scheme()[source]

Return the scheme for S3.

Was this entry helpful?