Difference between revisions of "PublicReadGetObject"

From wikieduonline
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 18: Line 18:
 
  }
 
  }
  
 +
== Related ==
 +
* <code>[[data]] [[aws_iam_policy_document]]</code>
  
[[data]] [[aws_iam_policy_document]]
+
== 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: