airflow.providers.amazon.aws.example_dags.example_s3

Module Contents

Functions

check_fn(files)

Example of custom check: check if all files are bigger than 1kB

Attributes

BUCKET_NAME

BUCKET_NAME_2

KEY

KEY_2

PREFIX

DELIMITER

TAG_KEY

TAG_VALUE

DATA

airflow.providers.amazon.aws.example_dags.example_s3.BUCKET_NAME[source]
airflow.providers.amazon.aws.example_dags.example_s3.BUCKET_NAME_2[source]
airflow.providers.amazon.aws.example_dags.example_s3.KEY[source]
airflow.providers.amazon.aws.example_dags.example_s3.KEY_2[source]
airflow.providers.amazon.aws.example_dags.example_s3.PREFIX[source]
airflow.providers.amazon.aws.example_dags.example_s3.DELIMITER[source]
airflow.providers.amazon.aws.example_dags.example_s3.TAG_KEY[source]
airflow.providers.amazon.aws.example_dags.example_s3.TAG_VALUE[source]
airflow.providers.amazon.aws.example_dags.example_s3.DATA[source]
airflow.providers.amazon.aws.example_dags.example_s3.check_fn(files)[source]

Example of custom check: check if all files are bigger than 1kB

Parameters

files (List) -- List of S3 object attributes.

Returns

true if the criteria is met

Return type

bool

Was this entry helpful?