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
질문됨 일 년 전421회 조회
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
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠