I have set below bucket policy to whitelist around 100 file types in s3 bucket:
{ "Version": "2012-10-17", "Id": "Policy1610615