Amazon S3:无法将对象放在子目录下

时间:2018-03-29 14:32:44

标签: amazon-web-services amazon-s3

您能否通过以下政策确认我:

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "VisualEditor0",
            "Effect": "Allow",
            "Action": [
                "s3:CreateBucket",
                "s3:ListBucket"
            ],
            "Resource": "arn:aws:s3:::viessmann"
        },
        {
            "Sid": "VisualEditor1",
            "Effect": "Allow",
            "Action": [
                "s3:PutObject",
                "s3:GetObject",
                "s3:DeleteObject"
            ],
            "Resource": "arn:aws:s3:::viessmann/medias/*"
        }
    ]
}

它允许我在给定路径中编写以下对象:

https://viessmann.s3-eu-west-1.amazonaws.com/medias/cache/brochure_thumbnail_medium/5abcf6b35e02b.jpg

现在,我收到403 Forbidden回复。

0 个答案:

没有答案