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
feita há um ano423 visualizações
1 Resposta
1
Resposta aceita

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
respondido há um ano

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas