Skip to main content
Downloads a file from a web page and automatically uploads it to AWS S3 storage in a single operation. Combines downloadFile (for trigger methods) and uploadFileToS3 (for S3 configuration), providing a streamlined workflow for capturing and storing files.

Examples

Arguments

input
Object
required
Configuration object for the download and upload operation

Returns: Promise<Attachment>

Promise that resolves to an Attachment object with file metadata and S3 utilities