amazon-web-services - 用于访问 DynamoDB 的 API 网关 IAM 角色

标签 amazon-web-services

所以我正在关注this教程

我已创建一个角色并向其附加 AmazonDynamoDBFullAccess 策略...

enter image description here

当我将此角色分配给 Gateway API 时......就像这样

enter image description here

我不断收到此错误...

Execution failed due to configuration error: API Gateway does not have permission to assume the provided role

我应用于角色“MyDynamoRole”的“AmazonDynamoDBFullAccess”策略是否足以为网关 API 提供必要的权限?

最佳答案

找到解决方案......

在“角色 --> 信任关系”下,我添加了另一个服务,即 API 网关...

"apigateway.amazonaws.com"

现在一切都很好......

关于amazon-web-services - 用于访问 DynamoDB 的 API 网关 IAM 角色,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49144235/

相关文章:

linux - 定时任务 : No space left on device

amazon-web-services - 如何设置我的 HostedZone 以便它委托(delegate)给另一个 AWS 账户中的父 DNS 记录?

java - 如何通过两个帐户使用 AmazonSQS 监听器

amazon-web-services - 如何与不是原始创建者的用户一起管理EKS集群?

amazon-web-services - 如何自动将 s3 存储桶同步到本地文件夹

amazon-web-services - 了解谁创建了 CloudTrail 以及如何创建?

amazon-web-services - 通过 CloudFormation 创建 ECS ecsTaskExecutionRole 的 AWS 区域注意事项

amazon-web-services - AWS Appsync 多表 BatchPutItem 返回 Null

java - 使用适用于 Java 的 AWS 开发工具包在 AWS Organizations 中创建账户

git - AWS Serverless 框架使用 GIT 进行协作