AWS S3 Bucket Permissions - Access Denied

后端 未结 9 547
独厮守ぢ
独厮守ぢ 2020-12-30 19:12

I am trying to give myself permission to download existing files in an S3 bucket. I\'ve modified the Bucket Policy, as follows:

        {
        \"Sid\": \"         


        
9条回答
  •  时光取名叫无心
    2020-12-30 19:38

    for show website static in s3:

    This is bucket policies:

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

提交回复
热议问题