How can I give all s3 bucket ( public & private ) with deny of some target bucket no access
In essence, I want to grant access to all S3 buckets excluding a select number ( not want to give access for bucket 1 & sub folders )
in my bucket structure i just make policy which have only access of all bucket but not bucket 1
Bucket structure
s3
- bucket 1/folder 1.1 ( private database )
- bucket 2 ( website data )
- bucket 3 ( design data )
- bucket n
Which policy do I need to apply if I want to grant access to all of my buckets but not to bucket 1 & sub folder 1.1?