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.
    1.Select_AWS_SNS_Connector.png
  2. Select the Send notification action.
    2.Select_Send_Notification_Action.png
  3. Click on + Add New Account to add your AWS account.
    3.Click_Add_New_Account.png
  4. In the Authorize modal, provide details such as Access Key, Secret Access Key, and Region.
    4.SNS_Authorize_Modal.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.png

    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.
    6.Add_Topic.png
  7. Click on the Topic type textbox and select the topic type based on the Topic you selected in the above step.
    7.Add_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.
    8.Add_Message_Body.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.
    9.Add_Attributes.png
  11. Once done, click on Proceed.
  12. Click on Test Action to test the configured action connector.
    10.Click_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.
    12.Click_Save&Exit.png

This sets the AWS SNS action connector.

Was this article helpful?

Thanks for your feedbackSmile-icon

On This Page

^