ImportDataRule
¶
Source code in docs_src/capo_s3files/types/import_data_rule.py
prefix
instance-attribute
¶
prefix: str
The S3 key prefix that scopes this import rule. Only objects with keys beginning with this prefix are subject to the rule.
size_less_than
instance-attribute
¶
size_less_than: int
The upper size limit in bytes for this import rule. Only objects with a size strictly less than this value will have data imported into the file system.
trigger
instance-attribute
¶
trigger: ImportTrigger
The event that triggers data import. Valid values are ON_DIRECTORY_FIRST_ACCESS (import when a directory is first accessed) and ON_FILE_ACCESS (import when a file is accessed).