【发布时间】:2019-07-21 10:33:09
【问题描述】:
我有以下 AssumeRolePolicyDocument:
{
"Version": "2012-10-17",
"Statement": {
"Effect": "Allow",
"Principal": {"Service": "comprehend.amazonaws.com"},
"Action": "sts:AssumeRole"
}
}
以及以下政策文件:
{
"Version": "2012-10-17",
"Statement": {
"Effect": "Allow",
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::${bucket.name}/*"
}
}
不幸的是,我从 Amazon Comprehend 得到的是NO_READ_ACCESS_TO_INPUT: The provided data access role does not have proper access to the input data.。怎么了?
【问题讨论】:
标签: amazon-web-services amazon-iam amazon-comprehend