Prepare a design document for architecture of S3 antivirus setup. The requirement is as below -
As soon as file is uploaded to S3 bucket, it should be scanned.
Email notification should be sent once scan is completed.
Add the tag to S3 object whether it is clean or infected file.
Existing objects - Scan all the objects from all S3 buckets.
Ability to delete the file if found infected.
Recommendation - Use CalmAV for objects scanning.