Search code examples
amazon-web-servicesapache-nifiamazon-sqs

nifi redirect through aws accounts


This is likely a very niche question.

I have a nifi system set up external to AWS it reads from an sqs queue and then puls files from an s3 bucket I have a role set on the account. but I now have a need to watch an sqs queue and pull from an s3 bucket on a different account.

I need to have my nifi access my account and then pull from a different teams sqs queue they have created an arn for my iam role to switch to.

Is this possible. I dont know if I need to change the queue URL in the GetSQS processor soit doesn't point directly at their queue.


Solution

  • You can use AWSCredentialsProviderService in nifi to assume the role from my account to theirs and allows you to wathch their queue and then pull from their S3