Amazon Simple Notification Service (SNS) is a fully managed messaging service that enables decoupled communication between distributed systems through the use of topics, subscriptions, and notifications. It supports multiple message delivery protocols, including email, SMS, HTTP, and AWS Lambda.
Integrating Amazon SNS ensures reliable, scalable, and real-time messaging for efficient communication between distributed systems and applications.
Authentication
Ensure you have the following information ready for a seamless integration process:
Connection name: a name that identifies this connection in UnifyApps, such as "MyAppAmazonSNSIntegration".
Region (required): the AWS region of your resources, such as us-east-1. If your AWS console URL starts with https://us-east-1.console.aws.amazon.com, enter us-east-1.
Authentication type: Access Key or IAM Role.
The fields you fill in depend on the authentication type:
Access Key: enter the Access key ID and Secret access key of an IAM user (both required).
IAM Role: enter the ARN of an IAM role in the IAM Role field (required), and in External Id the external ID set on the role's trust relationship.
Access Key Based
Sign in to the AWS Management Console.
Search for Users in the search bar at the top of the console and open Users in IAM (Identity and Access Management).
Click Create user and enter a user name.
Choose Attach policies directly and attach the AmazonSNSFullAccess policy (or a policy that grants the Amazon SNS permissions you need). Click Create user.
Open the new user, go to Security credentials and click Create access key.
Choose Command Line Interface as the use case, add a description tag and click Create access key.
Copy the access key ID and secret access key into the connection form. Store them securely; anyone with them can access your AWS account.
-blurred.png&w=1080&q=75)
-blurred.png)
IAM Role Based
Sign in to AWS Management Console (https://console.aws.amazon.com/) and select security credentials.
Navigate to the IAM dashboard and click "
Roles" > "Create role". (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles.html)Under "
Trusted entity type," choose the AWS account option.Select "
Another AWS account" and input the UnifyApps AWS account ID (contact support to obtain this).Check the "
Require external ID" box and enter the External ID provided by UnifyApps.-blurred.png&w=1080&q=75)
-blurred.png)
Assign the necessary permissions for UnifyApps to operate automated workflows within your account.
Give the IAM role a name and description.
Click the "
Select trusted entities" Edit button to modify trusted entity policies if needed. (Optional)Click the "
Add permissions" Edit button to adjust permissions. (Optional)If using object tags, select an appropriate tag for the IAM role. (Optional)
Click on
Create Roleto finalize the process.
Create an IAM Permissions Policy
Go to the
AWS Consoleand open theIAM console(https://console.aws.amazon.com/iam).Navigate to Access management and select
Policies.Choose
Create Policy.Locate and choose the AWS service that UnifyApps will access.
Select the required permissions under the
Actionsfield.Define the resources that the role will have access to.
Continue clicking Next until you reach the Review policy page.
Provide a Name for the policy.
Click
Create policyonce done.
Retrieve IAM Role ARN
Open the AWS Console and go to
My Security Credentials>Roles.Search for the IAM role you need for the connection.
-blurred.png&w=1080&q=75)
-blurred.png)
Select the role to view its details.
Copy the Role ARN for use in the UnifyApps connection setup.
Triggers
| Triggers | Description |
On message received | Triggers when a message is received in Amazon SNS |