FileUploaderFieldConfig
¶
Source code in docs_src/capo_amplifyuibuilder/types/file_uploader_field_config.py
accepted_file_types
instance-attribute
¶
accepted_file_types: StrValues
The file types that are allowed to be uploaded by the file uploader. Provide this information in an array of strings specifying the valid file extensions.
access_level
instance-attribute
¶
access_level: StorageAccessLevel
The access level to assign to the uploaded files in the Amazon S3 bucket where they are stored. The valid values for this property are private, protected, or public. For detailed information about the permissions associated with each access level, see File access levels in the Amplify documentation.
is_resumable
instance-attribute
¶
is_resumable: NotRequired[bool]
Allows the file upload operation to be paused and resumed. The default value is false.
When isResumable is set to true, the file uploader uses a multipart upload to break the files into chunks before upload. The progress of the upload isn't continuous, because the file uploader uploads a chunk at a time.
max_file_count
instance-attribute
¶
max_file_count: NotRequired[int]
Specifies the maximum number of files that can be selected to upload. The default value is an unlimited number of files.