我无法访问我的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
没有存储桶策略AmazonS3FullAccess
和AmazonElasticTranscoderFullAccess
托管政策这是附加到管道(Amazon Elastic Transcoder管道)的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存储桶的权利,我将非常感激。
答案 0 :(得分:0)
我知道现在答复您的问题已经很晚了。我今天也遇到了同样的错误,发现该错误是由于在输出存储桶中存在相同名称的文件而引发的。解决方案是生成一个不同的名称或删除以前的输出文件。我不知道为什么aws会引发权限错误。