简体   繁体   English

AWS EventBridge 规则能否以另一个账户中的 Kinesis Firehose 传输流为目标?

[英]Can an AWS EventBridge Rule target a Kinesis Firehose Delivery Stream in another account?

Imagine that there are two AWS accounts - Account-A and Account-B.假设有两个 AWS 账户 - Account-A 和 Account-B。 Account-A has an EventBridge Event Bus and Account-B has a Kinesis Data Firehose.账户-A 有一个 EventBridge 事件总线,账户-B 有一个 Kinesis Data Firehose。

Is it possible for the event bus in Account-A to have a rule that targets the firehose in Account-B? Account-A 中的事件总线是否有可能有一个针对 Account-B 中的消防水管的规则?

Could you please suggest me how I can pass AWS::KinesisFirehose::DeliveryStream into AWS::Events::Rule您能否建议我如何将AWS::KinesisFirehose::DeliveryStreamAWS::Events::Rule

I have 2 Target one is for LogGroup and Another one is KinesisFirehose.我有 2 个目标,一个用于 LogGroup,另一个用于 KinesisFirehose。

I have tried KinesisParameters but didn't get success.我试过KinesisParameters但没有成功。

Type: AWS::Events::Rule
    Properties:
      Name: !Ref 'EventBusRuleName'
      Description: Lead Assigned Rule
      EventBusName: !Ref FseEventBus
      RoleArn: !GetAtt LeadAuditFirehoseIAMRole.Arn
      EventPattern:
        source:
          - "FMS"
        detail-type: 
          - "LeadAssigned"
      State: "ENABLED"
      Targets:
        - Arn: !GetAtt FseLogGroup.Arn
          Id: "LogGroupTarget"
    DependsOn: FseEventBus

At this time, no, the only type of cross-account resource you can target in an EventBridge Rule is another EventBridge bus.目前,不,您可以在 EventBridge 规则中定位的唯一类型的跨账户资源是另一个 EventBridge 总线。 This is not really clearly stated anywhere I found while investigating the same question, but you can infer it from the PutTargets docs (since Event bus is the only target listed as supported in another account), or if you try it through CloudFormation you'll get an error "Only EventBus targets are allowed on cross-account PutTargets calls").我在调查同一问题时发现的任何地方都没有明确说明这一点,但您可以从PutTargets文档中推断出它(因为事件总线是另一个帐户中列出的唯一受支持的目标),或者如果您通过 CloudFormation 尝试它,您将收到错误消息“跨账户 PutTargets 调用只允许使用 EventBus 目标”)。

So currently they intend for you to set up another EventBridge bus in Account-B, and then attach a rule on it to target your firehose.因此,目前他们打算让您在 Account-B 中设置另一个 EventBridge 总线,然后在其上附加规则以定位您的消防水管。 Since there's no charge to receive events (the sender pays), this seems perfectly reasonable.由于接收事件是免费的(发送者付费),这似乎是完全合理的。

This could all change of course as AWS routinely enhances their services.当然,随着 AWS 定期增强其服务,这一切都可能会改变。

There's a nice diagram of this sort of cross-account event forwarding on Simplifying cross-account access with Amazon EventBridge resource policies :Simplifying cross-account access with Amazon EventBridge resource policies上有一个关于这种跨账户事件转发的很好的图表: 在此处输入图片说明

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 从数据 stream (Kinesis) 到 OpenSearch AWS 创建交付 stream (Firehose) - Create delivery stream (Firehose) from data stream (Kinesis) to OpenSearch AWS AWS:在不同账户中使用 Kinesis Firehose 读取 Kinesis Stream 数据 - AWS: reading Kinesis Stream data using Kinesis Firehose in a different account 如何更改现有的AWS Kinesis Firehose交付流的目的地 - How to change destination for an existing aws kinesis Firehose delivery stream 如何使用 CloudFormation 或 CDK 将另一个 AWS 账户的 Event Bus 指定为 EventBridge 规则的目标? - How do I specify another AWS account's Event Bus as a target of an EventBridge rule using CloudFormation or CDK? 是否有 AWS CDK 代码可用于为 Kinesis firehose 交付 stream 启用 WAF 日志记录? - Is there a AWS CDK code available to enable WAF logging for Kinesis firehose delivery stream? AWS IoT Core(使用 IoT 规则)到不同 AWS 账户中的 Kinesis Steam/Firehose - AWS IoT Core (using IoT Rule) to Kinesis Steam/Firehose in Different AWS Account 如何使用terraform将kinesis流与firehose传输流连接 - How to connect a kinesis stream with a firehose delivery stream using terraform 关于 Kinesis Firehose 数据 stream 到 AWS Lambda - Regarding KInesis Firehose data stream to AWS Lambda AWS Firehose 交付到 VPC 中的跨账户 Elasticsearch - AWS Firehose delivery to Cross Account Elasticsearch in VPC Kinesis Firehose Delivery Stream 在使用 cloudformation 时无法承担角色 - Kinesis Firehose Delivery Stream is unable to assume role while using cloudformation
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM