我无法访问我的 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 角色还具有托管策略
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 存储桶的权限,我将不胜感激。