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

  1. Go to https://aws.amazon.com.
  2. Click Create an AWS Account.
  3. Enter a root user email address.
  4. Enter a name for your account in the AWS account name field.
  5. Click Verify email address.
  6. Once the email address is verified, create your root user password.
  7. In the subsequent steps, enter your contact information and billing information details.
  8. 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

  1. Log in to the AWS Console with your root user credentials.
  2. Click IAM and select Select the Users under Users.
  3. In the Permissions tab, click Add permission and select Create Inline policy.
  4. Under Inline policy, select SNS as a Service.
  5. 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.
  6. Click Next.
  7. 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

  1. Log in to an AWS account using the root user credential.
  2. In the search bar, enter IAM.
  3. Click IAM and select Users under Access management.
  4. Click Create user.
  5. Enter a name for the user and click Next.
  6. On the Set Permissions page that appears, perform the following:
    1. Select Attach policies directly as the Permissions Options.
    2. Select the permission policies that you created for this user and click Next. See Create the Inline Policy.
    3. (Optional step) Set a permissions boundary under Set permissions boundary and click Next.
  7. (Optional step) Add tags to AWS resources.
  8. Click Create User.
  9. Navigate to Dashboard, then Access management, and then Users. The newly created user appears in the list.
  10. Select the user in the Username column.
  11. On the User Info page, select Create access key in the Summary section.
  12. Under Access key best practices & alternatives, select the use case according to your requirement, and click Next.
  13. (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.

  14. 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.
  15. Alternatively, you can click Download .csv file to download a file that contains the access key ID and the secret key.
  16. Click Done.