A serverless, zero-touch solution for intelligent file routing to a central Windows FSx share.
Implement a simple, automated system that allows departments (Corporate, HR, Technology, and future groups) to upload files into dedicated locations and have them instantly and intelligently organized into the correct folders on the central Windows shared file system — with zero manual effort.
Each department gets its own dedicated S3 upload bucket:
corporate-upload-buckethr-upload-buckettechnology-upload-bucket- (easily expandable to new departments)
When a user uploads any file to their department’s bucket, the system automatically:
- Identifies the department from the bucket name
- Detects the file type (by extension)
- Copies the file to the appropriate subfolder on the central FSx for Windows File Server
- Sends a real-time confirmation email to
elucas@ocsheriff.gov
One reminder, I am not including the lambda zip, try to do that yourself by following this
- Create a clean folder mkdir lambda_package && cd lambda_package
pip install -r ../requirements.txt -t .
cp ../lambda_function.py .
zip -r ../lambda_function.zip .