简体   繁体   English

如何在一个账户中使用 AWS AppSync 访问另一个账户中的 DynamoDB?

[英]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.

相关问题 如何从另一个 AWS 账户中的步骤 function 调用一个 AWS 账户中的步骤 function? - How to invoke a step function in one AWS account from a step function in another AWS account? IAM 角色访问另一个 AWS 账户的服务 - IAM role to access services of another AWS account 一个 AWS 账户用于支付,另一个用于维护? - One AWS account for payment, another for maintenance? 如何使用 AWS 在一个账户中存储 terraform state 并在另一个账户中应用更改? - How to store terraform state in one account and apply changes in another account using AWS? 如何将数据从一个 AWS 账户的 RDS 移动到另一个账户 - How do I move data from RDS of one AWS account to another account 如何授予开发人员访问我的 AWS 账户的权限? - How to grant a developer access to my AWS account? Nodejs 服务在不同的 aws 帐户上查询 dynamoDb - Nodejs service to query dynamoDb on different aws account Step 函数跨账户访问 DynamoDB - Step functions cross account access to DynamoDB 如何将 cognito 身份池与另一个 AWS 帐户集成以进行 API 网关访问 - How to integrate cognito identity pool with another AWS account for API Gateway access 从一台计算机访问不同的 AWS 账户 CodeCommit 存储库 - Access different AWS account CodeCommit repositories from one computer
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM