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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ