Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想编写一个 Java 进程,该进程将使用 STS 在从 Kinesis 读取的账户 A 中扮演一个角色,然后将事件发送到账户 B 中的 Kinesis 流中。我该如何实现这一点,因为 AWS 目前不支持它。
您将需要创建两个 Kinesis 客户端。
对于账户 A,调用 STS,获取新凭证,然后使用这些凭证创建 Kinesis 客户端。
对于账户 B,使用来自账户 B 的凭证创建 Kinesis 客户端。
然后,您的应用程序将使用第一个客户端从 Kinesis 读取,并使用第二个客户端写入 Kinesis。