AWS SNS

The AWS Simple Notification Service (AWS SNS) connector automates the process of sending notifications to the members subscribed/added to AWS SNS.

For instance, consider a scenario where you either create or update an entry in Contentstack and you want to notify specific users about it via a specific platform. In this case, link your AWS SNS account to the AWS SNS Automations connector, and every time the event occurs, it will trigger our action connector to send notifications to the medium(s) that has been set in your AWS SNS account.

Set Up AWS SNS

Perform the following steps to set up the AWS SNS action connector:

  1. In the Configure Action window, select the AWS SNS connector.
    Select-Connector.png
  2. Select the Send Notification action.
    Select-Action.png
  3. Click on + Add New Account to add your AWS account.
    Add-Account.png
  4. In the Authorize modal, provide details such as Access Key, Secret Access Key, and Region.
    Authorize-Button.png
    You can generate the Access and Secret Access Key by navigating through Security credentials; Access Keys; Create New Access Key in your AWS account.
    5.Generate_Access_Key.jpg

    Additional Resource: For more information, refer to the Managing access keys for IAM users document.

  5. Once done, click on Authorize.
  6. After adding an account, click on the Topic textbox and select a given topic from the LOOKUP drop-down.
    Select-Topic.png
  7. Click on the Topic type textbox and select the topic type based on the Topic you selected in the above step.
    Select-Topic-Type.png
  8. Click on the Message Body textbox and enter a sample message for the notification. You can even add dynamic parameters that appear in the OUTPUT dropdown. For now, let’s pass a simple message.
    Select-Message.png
  9. You can choose to add optional fields by clicking on the Show Optional Fields toggle. You will find two additional fields have appeared: Message attributes and Subject.
  10. In Message attributes, you can pass certain attributes (in JSON format only) along with your message, and in Subject, you can pass the subject of the message.
    Select-Attributes.png
  11. Once done, click on Proceed.
  12. Click on Test Action to test the configured action connector.
    Test-Action.png
  13. After successfully executing the Action, you will get a notification on your configured communication medium. For this example, we have configured the user's email in their SNS account.
    11.Output_Email.png
  14. Click Save and Exit to finish the process.
    Save-Exit.png

This sets the AWS SNS action connector.

Was this article helpful?

Thanks for your feedbackSmile-icon

On This Page

^