title: How to disable making buckets public in S3
body: <p>I want to deny that a Bucket can be made public in S3.</p>
  
  <p>I know that I can track this by  <a href="https://docs.aws.amazon.com/config/latest/developerguide/s3-bucket-public-write-prohibited.html" rel="nofollow noreferrer">s3-bucket-public-write-prohibited</a> and
  <a href="https://docs.aws.amazon.com/config/latest/developerguide/s3-bucket-public-read-prohibited.html" rel="nofollow noreferrer">s3-bucket-public-read-prohibited</a></p>
  
  <p>But these are rules to check if the buckets are compliant.</p>
  
  <p><strong>How can I actually disable to make a public bucket?</strong></p>