Amazon Elastic Transcoder错误3003没有S3 Bucket的读权限



我无法访问我的Amazon Elastic Transcoder管道的S3桶。

3003 Does Not Have Read Permission The IAM role specified in the Role object in the pipeline that you used for this job doesn't have permission to read from the Amazon S3 bucket that contains the file you want to transcode.

3003 d6a37de0-6404-4cde-9c37-7aada57d54b2: You do not have the permissions required to read the specified object from the specified bucket: bucket=mybucket, key=myinputfile.MOV.

  • mybucket桶没有桶策略
  • AIM角色同时具有AmazonS3FullAccessAmazonElasticTranscoderFullAccess管理政策

下面是附加到管道(Amazon Elastic Transcoder Pipeline)的IAM角色的自定义内联策略:

{
    "Version": "2008-10-17",
    "Statement": [
        {
            "Sid": "1",
            "Effect": "Allow",
            "Action": [
                "s3:ListBucket",
                "s3:Put*",
                "s3:Get*",
                "s3:*MultipartUpload*"
            ],
            "Resource": "*"
        },
        {
            "Sid": "2",
            "Effect": "Allow",
            "Action": "sns:Publish",
            "Resource": "*"
        },
        {
            "Sid": "3",
            "Effect": "Deny",
            "Action": [
                "s3:*Policy*",
                "sns:*Permission*",
                "sns:*Delete*",
                "s3:*Delete*",
                "sns:*Remove*"
            ],
            "Resource": "*"
        },
        {
            "Sid": "4",
            "Effect": "Allow",
            "Action": [
                "s3:GetObject",
                "s3:PutObject"
            ],
            "Resource": "arn:aws:s3:::mybucket/*"
        }
    ]
}

如果有人能指出我在正确的方向,并阐明如何授予我的Amazon Elastic Transcoder访问我的S3桶,我将非常感激。

我知道现在回答你的问题已经太晚了。今天我也得到了相同的错误,并发现由于在输出桶中存在同名文件而抛出错误。解决方案是生成不同的名称或删除以前的输出文件。我不知道为什么aws会抛出Permission错误

相关内容

  • 没有找到相关文章