Prerequisites for Creating a Connection
You must satisfy the following prerequisites to create a connection with the Amazon Simple Notification Service (SNS) Adapter:
Create an AWS Account
- Go to https://aws.amazon.com.
- Click Create an AWS Account.
- Enter a root user email address.
- Enter a name for your account in the AWS account name field.
- Click Verify email address.
- Once the email address is verified, create your root user password.
- In the subsequent steps, enter your contact information and billing information details.
- Complete the transaction to successfully create a root user account.
You can now sign in to your AWS account using the root user credentials.
Note:
The root user possesses unrestricted access to AWS resources. It is necessary to create an Identity and Access Management (IAM) user.Create the Inline Policy
- Log in to the AWS Console with your root user credentials.
- Click IAM and select Select the Users under Users.
- In the Permissions tab, click Add permission and select Create Inline policy.
- Under Inline policy, select SNS as a Service.
- To grant the user permission to list topics, under the
Access Level section, select
List and then select the
ListTopics action.
Note:
If you want to publish a message to a topic, the corresponding inline policy (publish) must be added to the new or existing policy. Likewise, if you want to subscribe to a topic, the corresponding inline policy (subscribe) must be added to the new or existing policy. - Click Next.
- Enter the policy name and click Create
Policy.
The newly created policy is added to the list on the Policies page.
Create an IAM User and Obtain the Access Key and Secret Access Key
- Log in to an AWS account using the root user credential.
- In the search bar, enter
IAM
. - Click IAM and select Users under Access management.
- Click Create user.
- Enter a name for the user and click Next.
- On the Set Permissions page that appears, perform the following:
- Select Attach policies directly as the Permissions Options.
- Select the permission policies that you created for this user and click Next. See Create the Inline Policy.
- (Optional step) Set a permissions boundary under Set permissions boundary and click Next.
- (Optional step) Add tags to AWS resources.
- Click Create User.
- Navigate to Dashboard, then Access management, and then Users. The newly created user appears in the list.
- Select the user in the Username column.
- On the User Info page, select Create access key in the Summary section.
- Under Access key best practices & alternatives, select the use case according to your requirement, and click Next.
- (Optional step) Provide a description tag, if required, and click
Next.
The Access key-created message appears. The access key and secret access key are displayed.
- Copy the access key ID and secret key.
Note:
You must enter the access key in the Access Key field and the secret key in the Secret Access Key field on the Connections page. See Configure Connection Security. - Alternatively, you can click Download .csv file to download a file that contains the access key ID and the secret key.
- Click Done.