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 such as creating/deleting buckets, uploading/downloading objects, managing access control lists (ACLs), configuring bucket policies, CORS, lifecycle rules, tagging, multipart uploads, versioning, logging, notifications, replication, encryption, website hosting, metrics, analytics, inventory, request payment settings, accelerate configuration, and more.
The "Put Bucket Request Payment" operation specifically allows you to configure who pays for requests and data transfer costs on an S3 bucket — either the bucket owner or the requester.
Common scenarios where this node is beneficial:
- Automating S3 bucket and object management tasks within workflows.
- Configuring advanced bucket settings like lifecycle policies, CORS, and replication.
- Managing access permissions and tags programmatically.
- Handling large file uploads via multipart upload.
- Generating presigned URLs for secure temporary access to objects.
- Setting who bears the cost of requests and data transfer on buckets.
Practical example for "Put Bucket Request Payment":
You want to set your S3 bucket so that the requester (instead of the bucket owner) pays for the data transfer costs when accessing objects. This can be useful in scenarios where you provide public access but want users to bear the cost of their requests.
Properties
| Name | Meaning |
|---|---|
| Bucket Name | The name of the S3 bucket to configure. |
| Payer | Specifies who pays for requests and data transfer on the bucket. Options: |
| - Requester: The requester pays for the requests and data transfer. | |
| - BucketOwner: The bucket owner pays for the requests and data transfer (default). |
Output
The output JSON object for the "Put Bucket Request Payment" operation includes:
bucket: The name of the bucket configured.payer: The payer setting applied ("Requester" or "BucketOwner").message: Confirmation message indicating the update was successful.operation: The operation performed (e.g., "putBucketRequestPayment").timestamp: ISO string timestamp of when the operation was executed.success: Boolean indicating if the operation succeeded (true).
If an error occurs, the output will contain:
error: Error message describing the failure.success:falseoperation: The attempted operation.timestamp: Timestamp of the failure.
Dependencies
- Requires an S3-compatible API endpoint with valid credentials (access key ID and secret access key).
- The node uses AWS SDK v3 clients internally to communicate with the S3 service.
- Credentials must have permission to perform the
PutBucketRequestPaymentaction on the specified bucket. - No additional environment variables are required beyond standard credential configuration.
Troubleshooting
Common issues:
- Invalid or missing credentials will cause authentication errors.
- Insufficient permissions on the bucket will result in access denied errors.
- Incorrect bucket names or non-existent buckets will cause not found errors.
- Providing invalid values for the payer property will cause validation errors.
Error messages and resolutions:
"Access denied. Check your credentials and permissions."
Ensure the credentials used have the necessary permissions for modifying bucket request payment settings."Invalid Access Key ID. Please check your credentials."
Verify the access key ID is correct and active."Invalid Secret Access Key. Please check your credentials."
Verify the secret access key matches the access key ID."Cannot connect to endpoint. Check your endpoint URL and network connection."
Confirm the endpoint URL is reachable and correctly configured."S3 operation failed: <error message>"
Review the detailed error message for specific issues; ensure all parameters are valid.