Iot Topic Rule - Cross Account Kinesis

0

Hi there, I am trying to setup a cross account Iot topic rule, that will forward the messages to a Kinesis stream in a different account. Here is a snippet from my cfn:

  IoTTopicRule10:
    Type: AWS::IoT::TopicRule
    Properties:
      TopicRulePayload:
        RuleDisabled: false
        Sql: !Sub SELECT *  FROM '${ConnectorTopicName}'
        Actions:
          - Kinesis:
              StreamName: arn:aws:kinesis:eu-west-1:targetaccountID:stream/input-machine-data-stream
              RoleArn: !Sub '${IoTTopicRuleRole.Arn}'

The role has cross account setup. However, this does not send the data to the target account, and I can not really figure out why. Do you have any suggestions how can I troubleshoot this? or what is causing the problem? Cheers

MarkL
已提問 1 年前檢視次數 423 次
1 個回答
1
已接受的答案

Hi there! At present, AWS IoT Core Rules only supports cross-account actions for four services:

  • SQS
  • SNS
  • S3
  • Lambda

You could use AWS Lambda to write the message to Kinesis in the other account.

AWS
Gavin_A
已回答 1 年前

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

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

回答問題指南