从 EventBridge 调用跨账户的lambda函数。

0

【以下的问题经过翻译处理】 在不与A账户的事件总线进行集成的情况下,是否可以直接从B账户的EventBridge(自定义事件总线)调用A账户中的Lambda函数?

profile picture
EXPERT
asked 5 months ago38 views
1 Answer
0

【以下的回答经过翻译处理】 目前只有通过事件总线才支持跨帐户发送事件,这意味着直接将“Lambda-in-AccountA 设置为“Rule-in-AccountB”目标是不可能的。支持的流程如下:

“Event-Bus-AccountB” => “Rule-in-AccountB” => “Event-Bus-AccountA” 作为目标之一 => “Rule-in-AccountA” 匹配来自AccountB的事件并具有“Lambda-in-AccountA”目标。

为了帮助你进一步理解,以下是一些有用的资源:在AWS帐户之间发送和接收事件使用 Amazon EventBridge 资源策略简化跨账户访问

希望这有所帮助,如果有任何进一步的问题,请告诉我。

profile picture
EXPERT
answered 5 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions