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 個月前檢視次數 140 次
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 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南