How to apply s3 bucket policy to all buckets in accounta

Hello
I am dealing with some security best practices issues in our terraform code and one of them is not allowing insecure HTTP connections to s3 buckets, I was wondering if I could define a single generic policy like below using wildcards in the s3 buckets arn and apply it at the aws account level instead of having to do this for every s3 buckets.

data "aws_iam_policy_document" "www_bucket_policy" {

    statement {
      principals {
        type        = "AWS"
        identifiers = ["*"]
      }
      resources = [
        aws_s3_bucket.static_ui.arn,
            "${aws_s3_bucket.static_ui.arn}/*"
      ]
      effect = "Deny"
      actions = [
        "s3:*"
      ]
      condition {
        test = "Bool"
        variable = "aws:SecureTransport"
        values = [
          "false"
        ]
      }
    }
 }