How can I connect and consume a Kinesis data stream from a different AWS account in your AWS account Firehose, which then processes the data and stores it in S3,

0

I followed cross-account principles and attached trusted policy in the source account as well as the target AWS account, still in target account B I am not getting the option to select kinesis stream from different account

已提问 3 个月前135 查看次数
1 回答
0

Hi,

I understand you are sending data from Kinesis Stream in one account to Amazon Data Firehose in another account.

Kinesis Stream (in Account A) -> Firehose (in Account B)

Unfortunately, this is not supported at the moment. You can maybe use Lambda as workaround you may consider having lambda function for your use case.

kinesis stream (Account A) --> lambda (Account A) -->Data Firehose (Account B)

You can follow below document to create kinesis trigger for lambda function : kinesis stream (Account A) --> lambda (Account A)

[+] Using AWS Lambda with Amazon Kinesis - Configuring a stream as an event source - https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis-eventsourcemapping

Further, you have to write code in lambda that push the records to firehose stream : lambda (Account A) --> Data Firehose (Account B)

you can refer to the below third party article to get some idea about how it can be done.

https://faun.pub/quicksolutions-cross-account-use-lambda-to-write-to-firehose-in-another-aws-account-38bc4270a348

AWS
支持工程师
Aman_A
已回答 3 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则