N8N Tools - S3 Enhanced icon

N8N Tools - S3 Enhanced

Enhanced S3 operations with presigned URLs, multipart upload, and advanced features

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, lifecycle and policy management, tagging, versioning, and more.

The "Delete Bucket Lifecycle" operation specifically deletes the lifecycle configuration from a specified S3 bucket. Lifecycle configurations define rules to automate actions on objects, such as expiration or transition to different storage classes. Removing these rules stops any automated lifecycle management on the bucket's objects.

Common scenarios:

  • You want to remove all lifecycle rules from a bucket to stop automatic deletion or archiving of objects.
  • Cleaning up bucket configurations before deleting or repurposing a bucket.
  • Resetting lifecycle policies during bucket reconfiguration.

Practical example:

  • A user has a bucket with lifecycle rules that archive logs after 30 days. They decide to disable this automation by deleting the lifecycle configuration using this operation.

Properties

Name Meaning
Bucket Name Name of the S3 bucket from which the lifecycle configuration will be deleted.

Output

The output JSON contains:

  • bucket: The name of the bucket where the lifecycle configuration was deleted.
  • message: Confirmation string indicating successful deletion of the lifecycle configuration.

Example output:

{
  "bucket": "my-bucket-name",
  "message": "Bucket lifecycle configuration deleted successfully"
}

Dependencies

  • Requires an S3-compatible storage service accessible via API.
  • Needs credentials providing access key ID, secret access key, and optionally session token.
  • The node uses AWS SDK v3 clients internally to communicate with the S3 service.
  • Proper permissions are required to delete bucket lifecycle configurations.

Troubleshooting

  • Access Denied Errors: Ensure the provided credentials have permission to delete lifecycle configurations on the target bucket.
  • Invalid Bucket Name: Verify the bucket name is correct and exists in the connected S3 service.
  • Network/Endpoint Issues: Check network connectivity and endpoint URL if using a custom S3-compatible service.
  • JSON Parsing Errors: Not applicable for this operation since no JSON input is required.
  • Operation Failure: If the operation fails, the node throws an error with the message prefixed by "S3 operation failed:" followed by the specific error detail.

Links and References

Discussion