[英]How to use AWS AppSync in one account access DynamoDB in another account?
I am a beginner of AWS service AppSync and DynamoDB.我是 AWS 服务 AppSync 和 DynamoDB 的初学者。 I want to ask whether it is possible to use AWS AppSync in one account access DynamoDB in another account?
请问是否可以在一个账户中使用AWS AppSync访问另一个账户中的DynamoDB? I follow this tutorial: AppSync Tutorial , but when I choose the data source, I don't know how to choose the DynamoDB in my other AWS account.
我按照这个教程: AppSync 教程,但是当我选择数据源时,我不知道如何在我的其他 AWS 账户中选择 DynamoDB。
Could anyone give me some suggestions about the most simple method to implement cross-account access with AppSync and DynamoDB?谁能给我一些关于使用 AppSync 和 DynamoDB 实现跨账户访问的最简单方法的建议? Thanks in advance!
提前致谢!
I think the best way is: replicate a DynamoDB in account A from account B by using DynamoDB Stream and Lambda, and then we can use AppSync in account A to access DynamoDB in account A.我认为最好的办法是:通过DynamoDB Stream和Lambda从B账户复制一个A账户的DynamoDB,然后我们可以通过A账户的AppSync访问A账户的DynamoDB。
Reference:参考:
Copy DynamoDB table data cross account real time 跨账户实时复制DynamoDB表数据
https://dzone.com/articles/real-time-cross-region-dynamodb-replication-using https://dzone.com/articles/real-time-cross-region-dynamodb-replication-using
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.