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...")
 
Line 12: Line 12:
 
             ],
 
             ],
 
             "Resource": [
 
             "Resource": [
                 "arn:aws:s3:::Bucket-Name/*"
+
                 "[[arn:aws:s3]]:::Bucket-Name/*"
 
             ]
 
             ]
 
         }
 
         }
 
     ]
 
     ]
 
  }
 
  }

Revision as of 09:50, 7 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/*"
           ]
       }
   ]
}

Advertising: