Minimum Policy Requirements for AWS SNS Trigger

Describe the issue/error/question

Hi, I am trying to use the AWS SNS Trigger but I could not find a list of permissions/scopes it need to work with AWS. I want to keep the IAM policy as limited as I can.

Can someone point me to any docs or code where I can look for this information?

TLDR: IAM policy requirements for AWS SNS Trigger.

What is the error message (if any)?

Please share the workflow

(Select the nodes and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow respectively)

Share the output returned by the last node

Information on your n8n setup

  • n8n version:
  • Database you’re using (default: SQLite):
  • Running n8n with the execution process [own(default), main]:
  • Running n8n via [Docker, npm,, desktop app]:

Hey @faheem,

Welcome to the community :raised_hands:

I am not sure how AWS scopes work but you can find the code for the node here: n8n/AwsSnsTrigger.node.ts at master · n8n-io/n8n · GitHub

Thanks, Jon. My use-case was very simple and I decided to go with a simple Lambda function instead.

But for anyone with the same question, the node only needs access to these actions.

  1. ListTopics
  2. ListSubscriptionsByTopic
  3. Subscribe
  4. Unsubscribe
  5. ConfirmSubscription

Here is the AWS doc for these actions.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.