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 integration with S3-compatible storage services, enabling a wide range of bucket and object management operations. It supports advanced features such as generating presigned URLs for secure temporary access, multipart uploads for large files, and detailed bucket configurations including replication, encryption, lifecycle, and more.
The "Delete Bucket Replication" operation specifically deletes the replication configuration from a specified S3 bucket. This is useful when you want to stop replicating objects from one bucket to another, effectively disabling cross-region or cross-bucket replication rules.
Common scenarios:
- Disabling replication on a bucket that no longer requires it.
- Cleaning up replication settings before deleting or repurposing a bucket.
- Managing bucket configurations programmatically in workflows.
Practical example:
You have an S3 bucket configured to replicate data to another region for disaster recovery. After changing your architecture, you no longer need replication. Using this node's "Delete Bucket Replication" operation, you can remove the replication configuration automatically as part of your infrastructure update workflow.
Properties
| Name | Meaning |
|---|---|
| Bucket Name | Name of the S3 bucket from which to delete the replication configuration |
Output
The output JSON object for the "Delete Bucket Replication" operation contains:
bucket: The name of the bucket where the replication configuration was deleted.message: A confirmation string indicating successful deletion of the replication configuration.
Example output JSON:
{
"bucket": "my-bucket-name",
"message": "Bucket replication deleted successfully"
}
Dependencies
- Requires an S3-compatible service endpoint accessible via AWS SDK.
- Needs credentials with permissions to manage bucket replication configurations (e.g., delete replication).
- The node uses the AWS SDK v3 client for S3 operations.
- In n8n, you must configure credentials providing access key ID, secret access key, optionally session token, region, and endpoint if using non-AWS S3-compatible services.
Troubleshooting
Common issues:
- Insufficient permissions: The API call to delete replication will fail if the credentials lack the necessary IAM permissions.
- Incorrect bucket name: Ensure the bucket exists and the name is correct.
- Network or endpoint misconfiguration: Verify connectivity to the S3 endpoint and correct endpoint URL if using custom S3 providers.
Error messages:
"Access denied. Check your credentials and permissions."— Your credentials do not have permission to delete replication configuration. Fix by updating IAM policies."Cannot connect to endpoint. Check your endpoint URL and network connection."— Network or endpoint URL issue; verify endpoint and network access."S3 operation failed: <error message>"— Generic failure; check the detailed error message for specifics.
Links and References
- AWS S3 DeleteBucketReplication API
- AWS SDK for JavaScript v3 - S3Client
- n8n Documentation - Creating Custom Nodes
If you need details about other operations or resources, feel free to ask!