How do I allow AWS accounts in my organization to publish messages to an Amazon SNS topic in my account?
I want an Amazon Simple Notification Service (Amazon SNS) topic to accept messages from any AWS account in my organization in AWS Organizations. How do I set that up?
Configure the Amazon SNS topic's access policy to allow any account in your organization to publish messages to the topic. In the access policy, include the global condition key, aws:PrincipalOrgID, and specify your organization's ID.
3. In the Amazon SNS console, edit the topic by doing the following:
In the navigation pane, choose Topics.
Choose the topic that you created. Then, choose Edit.
On the Edit page, expand Access policy -optional.
Paste the following example policy into the JSON editor, and then choose Save changes:
Important: Replace snsTopicArn with the topic's ARN. Then, replace myOrgId with your organization's ID.