User Tools

Site Tools


storage:s3

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
storage:s3 [2025/03/19 09:52] – [S3 LifeCycle] Jan Formanstorage:s3 [2026/06/30 11:50] (current) – [Public access S3 bucket] Jan Forman
Line 5: Line 5:
 <code> <code>
 { {
-  "Version": "2012-10-17", +   "Version" : "2012-10-17", 
-  "Statement": [ +   "Statement" : [ 
-    { +      { 
-      "Sid": "AllowPublicRead", +         "Effect" : "Allow", 
-      "Effect": "Allow", +         "Principal" : { 
-      "Principal": { +            "AWS" : [ "*" ] 
-        "AWS": "*"+         }, 
 +         "Action" : [ "s3:GetBucketLocation", "s3:ListBucket" ], 
 +         "Resource" : [ "arn:aws:s3:::public" ]
       },       },
-      "Action": [ +      { 
-        "s3:GetObject" +         "Effect" : "Allow", 
-      ], +         "Principal" : { 
-      "Resource": [ +            "AWS" : [ "*" ] 
-        "arn:aws:s3:::s3-oob/*" +         }, 
-      ] +         "Action" : [ "s3:GetObject" ], 
-    } +         "Resource" : [ "arn:aws:s3:::public/*" ] 
-  ]+      } 
 +   ]
 } }
 </code> </code>
storage/s3.txt · Last modified: 2026/06/30 11:50 by Jan Forman