AWS S3
Type ID: s3 · Kind: Action · Ports: 1 in, 1 out
Interact with AWS S3 to upload and retrieve objects.
Credentials
aws
Resources & operations
- Object (
object)- Upload (
upload) - Upload an object to S3 - Get (
get) - Get an object from S3
- Upload (
Properties
Common
| Property | Key | Type | Required | Default | Possible values | Applies when |
|---|---|---|---|---|---|---|
| Resource | resource | options | Yes | object | Object (object) | - |
| Operation | operation | options | Yes | upload | Upload (upload), Get (get) | resource = object |
Object → Upload
| Property | Key | Type | Required | Default | Possible values | Applies when |
|---|---|---|---|---|---|---|
| Bucket Name | bucketName | string | Yes | '' | S3 bucket name | resource = object, operation = upload |
| Object Key | objectKey | string | Yes | '' | S3 object key | resource = object, operation = upload |
| Binary Property Name | binaryPropertyName | string | Yes | data | Name of the binary property containing the file data to upload | resource = object, operation = upload |
| Skip If No Binary Data | skipIfNoBinaryData | boolean | No | false | Skip the upload and return a skipped result when the configured binary property is not present | resource = object, operation = upload |
Object → Get
| Property | Key | Type | Required | Default | Possible values | Applies when |
|---|---|---|---|---|---|---|
| Bucket Name | bucketName | string | Yes | '' | S3 bucket name | resource = object, operation = get |
| Object Key | objectKey | string | Yes | '' | S3 object key | resource = object, operation = get |
| Binary Property Name | binaryPropertyName | string | Yes | data | Name of the binary property to write the downloaded file data to | resource = object, operation = get |
| Return Binary Data | returnBinaryData | boolean | No | true | true / false (include downloaded file as binary data in output) | resource = object, operation = get |
| Generate Download URL | generateDownloadUrl | boolean | No | false | true / false (generate a temporary presigned download URL) | resource = object, operation = get |
| Download URL Expiration Seconds | downloadUrlExpiresIn | number | No | 3600 | How long the generated download URL stays valid (1–604800 seconds) | resource = object, operation = get, generateDownloadUrl = true |
Notes
- Bucket Name, Object Key, and Binary Property Name are required for both Upload and Get. Upload also requires an input item with binary data on the named property, unless Skip If No Binary Data is enabled.
- Download URL Expiration Seconds must be between 1 and 604800 (7 days) when Generate Download URL is enabled.
- Get objects over 10 MB will error when Return Binary Data is enabled.
- Output:
{ success, bucket, key, url, [downloadUrl, downloadUrlExpiresIn] }. On Get with Return Binary Data enabled, the file is also attached underbinary[binaryPropertyName].