AWS S3: List Directory of
| Parameter | Purpose | Example |
|---|---|---|
| bucket | S3 bucket name | "my-bucket" |
| region | AWS region | "us-east-1" |
| key | AWS access key ID | "AKIAXXXXXXXXXXXXXXXX" |
| secret | AWS secret access key | "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" |
| prefix | Directory prefix to list | "folder/", "uploads/" |
| next_page_token | Token for pagination | "eyJ2IjoiMiIsInMiOjB9" |
| as | Alias for the directory listing | x1, directory_contents |
Example
Example
- Lists contents of an S3 directory
- Supports pagination for large directories
- Returns file metadata and continuation token
- Can filter by prefix path
AWS S3: Get Signed URL of
| Parameter | Purpose | Example |
|---|---|---|
| bucket | S3 bucket name | "my-bucket" |
| region | AWS region | "us-east-1" |
| key | AWS access key ID | "AKIAXXXXXXXXXXXXXXXX" |
| secret | AWS secret access key | "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" |
| file_key | Path to file in bucket | "folder/file.pdf" |
| ttl | Time-to-live in seconds | 300, 3600, 86400 |
| as | Alias for the signed URL | x2, download_url |
Example
Example
- Generates a pre-signed URL for temporary access
- URL expires after specified TTL
- Useful for secure file sharing
- Supports private bucket access
AWS S3: Upload File to
| Parameter | Purpose | Example |
|---|---|---|
| bucket | S3 bucket name | "my-bucket" |
| region | AWS region | "us-east-1" |
| key | AWS access key ID | "AKIAXXXXXXXXXXXXXXXX" |
| secret | AWS secret access key | "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" |
| file_key | Destination path in bucket | "uploads/file.jpg" |
| file | File to upload | $input.file, $file_data |
| metadata | Custom metadata for file | {contentType: "image/jpeg"} |
| object_lock_mode | S3 Object Lock mode | "GOVERNANCE", "COMPLIANCE" |
| object_lock_retain_until | Lock retention date | "2024-12-31" |
| as | Alias for upload result | x3, upload_result |
Example
Example
- Uploads file to S3 bucket
- Supports custom metadata
- Optional Object Lock configuration
- Returns upload confirmation
AWS S3: Delete File
| Parameter | Purpose | Example |
|---|---|---|
| bucket | S3 bucket name | "my-bucket" |
| region | AWS region | "us-east-1" |
| key | AWS access key ID | "AKIAXXXXXXXXXXXXXXXX" |
| secret | AWS secret access key | "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" |
| file_key | Path to file to delete | "folder/file.txt" |
Example
Example
- Deletes a file from S3 bucket
- Permanent deletion (not recoverable)
- No response alias needed
- Use with caution
AWS S3: Create Var From File Resource
| Parameter | Purpose | Example |
|---|---|---|
| bucket | S3 bucket name | "my-bucket" |
| region | AWS region | "us-east-1" |
| key | AWS access key ID | "AKIAXXXXXXXXXXXXXXXX" |
| secret | AWS secret access key | "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" |
| file_key | Path to file to read | "folder/file.txt" |
| as | Alias for file contents | x4, file_data |
Example
Example
- Reads file contents from S3
- Returns file data
- Useful for processing file contents
- Supports all file types
AWS S3: Get File Metadata
| Parameter | Purpose | Example |
|---|---|---|
| bucket | S3 bucket name | "my-bucket" |
| region | AWS region | "us-east-1" |
| key | AWS access key ID | "AKIAXXXXXXXXXXXXXXXX" |
| secret | AWS secret access key | "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" |
| file_key | Path to file | "folder/file.txt" |
| as | Alias for file metadata | x5, file_info |
Example
Example
- Retrieves file metadata from S3
- Returns size, last modified, etc.
- Does not download file contents
- Useful for file verification