Difference between revisions of "PublicReadGetObject"

From wikieduonline
Jump to navigation Jump to search
(Created page with " https://docs.aws.amazon.com/AmazonS3/latest/userguide/WebsiteAccessPermissionsReqd.html { "Version": "2012-10-17", "Statement": [ { "Sid": "Publi...")
 
 
(5 intermediate revisions by 2 users not shown)
Line 12: Line 12:
 
             ],
 
             ],
 
             "Resource": [
 
             "Resource": [
                 "arn:aws:s3:::Bucket-Name/*"
+
                 "[[arn:aws:s3]]:::Bucket-Name/*"
 
             ]
 
             ]
 
         }
 
         }
 
     ]
 
     ]
 
  }
 
  }
 +
 +
== Related ==
 +
* <code>[[data]] [[aws_iam_policy_document]]</code>
 +
 +
== See also ==
 +
* {{terraform aws data sources}}
 +
* {{terraform aws resources}}
 +
 +
 +
[[Category:Terraform]]

Latest revision as of 06:57, 8 March 2023

https://docs.aws.amazon.com/AmazonS3/latest/userguide/WebsiteAccessPermissionsReqd.html

{
   "Version": "2012-10-17",
   "Statement": [
       {
           "Sid": "PublicReadGetObject",
           "Effect": "Allow",
           "Principal": "*",
           "Action": [
               "s3:GetObject"
           ],
           "Resource": [
               "arn:aws:s3:::Bucket-Name/*"
           ]
       }
   ]
}

Related[edit]

See also[edit]

Advertising: