N8N Tools - S3 Enhanced
Actions66
- Generate Presigned URL
- Generate Presigned POST
- Create Bucket
- Delete Bucket
- List Buckets
- Upload Object
- Download Object
- Delete Object
- List Objects
- Copy Object
- Get Object ACL
- Put Object ACL
- Get Bucket ACL
- Put Bucket ACL
- Get Bucket CORS
- Put Bucket CORS
- Delete Bucket CORS
- Get Bucket Lifecycle
- Put Bucket Lifecycle
- Delete Bucket Lifecycle
- Get Bucket Policy
- Put Bucket Policy
- Delete Bucket Policy
- Get Object Tagging
- Put Object Tagging
- Delete Object Tagging
- Get Bucket Tagging
- Put Bucket Tagging
- Delete Bucket Tagging
- Create Multipart Upload
- Upload Part
- Complete Multipart Upload
- Abort Multipart Upload
- List Parts
- List Multipart Uploads
- Get Bucket Versioning
- Put Bucket Versioning
- Get Bucket Logging
- Put Bucket Logging
- Get Bucket Notification
- Put Bucket Notification
- Get Bucket Replication
- Put Bucket Replication
- Delete Bucket Replication
- Get Bucket Encryption
- Put Bucket Encryption
- Delete Bucket Encryption
- Get Bucket Website
- Put Bucket Website
- Delete Bucket Website
- Get Bucket Metrics
- Put Bucket Metrics
- Delete Bucket Metrics
- Get Bucket Analytics
- Put Bucket Analytics
- Delete Bucket Analytics
- Get Bucket Inventory
- Put Bucket Inventory
- Delete Bucket Inventory
- Get Bucket Request Payment
- Put Bucket Request Payment
- Get Bucket Accelerate
- Put Bucket Accelerate
- Head Object
- Restore Object
- Select Object Content
Overview
This node provides enhanced operations for managing and interacting with S3-compatible storage buckets and objects. It supports a wide range of bucket and object management features, including creating and deleting buckets, uploading and downloading objects, managing access control lists (ACLs), configuring bucket policies, lifecycle rules, CORS, versioning, logging, notifications, replication, encryption, website hosting, tagging, multipart uploads, and more.
The Put Bucket Accelerate operation specifically allows enabling or suspending the transfer acceleration feature on an S3 bucket. Transfer acceleration speeds up content transfers to and from the bucket by using optimized network paths.
Common scenarios:
- Enabling transfer acceleration to improve upload/download speed for geographically distributed users.
- Suspending transfer acceleration when it is no longer needed or to reduce costs.
- Managing bucket configurations programmatically as part of infrastructure automation.
Practical example:
- A user wants to enable transfer acceleration on their bucket "my-bucket-name" to speed up file uploads from remote locations. They select the "Put Bucket Accelerate" operation and set the accelerate status to "Enabled".
Properties
| Name | Meaning |
|---|---|
| Bucket Name | The name of the S3 bucket on which to set the transfer acceleration status. |
| Accelerate Status | The desired transfer acceleration status for the bucket. Options: "Enabled", "Suspended". |
Output
The output JSON contains the following fields:
bucket: The name of the bucket on which the acceleration status was set.accelerateStatus: The new transfer acceleration status applied to the bucket ("Enabled" or "Suspended").message: Confirmation message indicating that the bucket accelerate configuration was updated successfully.operation: The operation performed, here it will be"putBucketAccelerate".timestamp: ISO string timestamp of when the operation was executed.success: Boolean indicating if the operation succeeded (true).
Example output JSON:
{
"bucket": "my-bucket-name",
"accelerateStatus": "Enabled",
"message": "Bucket accelerate updated successfully",
"operation": "putBucketAccelerate",
"timestamp": "2024-06-01T12:00:00.000Z",
"success": true
}
Dependencies
- Requires valid credentials for an S3-compatible service with permissions to modify bucket acceleration settings.
- Uses AWS SDK for JavaScript v3 under the hood.
- Requires n8n credentials configured with access key ID, secret access key, region, and optionally endpoint and session token for custom S3-compatible services.
Troubleshooting
Common issues:
- Invalid or missing credentials can cause authentication failures.
- Insufficient permissions on the bucket may result in access denied errors.
- Incorrect bucket name or non-existent bucket will cause errors.
- Network connectivity issues to the S3 endpoint can prevent operation execution.
Error messages and resolutions:
"Invalid Access Key ID": Check that the access key ID is correct."Invalid Secret Access Key": Verify the secret access key matches the access key ID."Access Denied": Ensure the credentials have permission to update bucket acceleration."Cannot connect to endpoint": Confirm the endpoint URL and network connectivity."Unknown operation: putBucketAccelerate": This should not occur if the node is up to date; update the node if necessary.