For Developers

AWS Simple Queue Service

SQS is a fully managed message queuing service that implements a puslisher/subscriber model. You can connect an SQS queue from your AWS account to Edlink and Edlink will publish Feed Events to it. The following document details how to do this.

Create or Select Queue

Search and navigate to SQS in the AWS console.

Search For SQS

Click on Create Queue to create a new queue or select an existing queue.

Create Queue Button

If you already have a queue you use for accepting events like the Edlink platform events you can reuse that one but be sure that you can differentiate between events. Otherwise create a new one.

Add arn:aws:iam::956549820650:root to the SQS queue access policy. This will allow Edlink to publish messages to the queue.

For newly created queues, you can add this policy during the creation process. Select Only the specified AWS accounts, IAM users and roles and add arn:aws:iam::956549820650:root to the text box that appears. See below:

Access Policy

For existing queues, you can add this policy by navigating to the queue and clicking on the Access Policy tab. Click on Edit and add the policy in the JSON editor.

Your json should look something like this:

{
  "Version": "2012-10-17",
  "Id": "__default_policy_ID",
  "Statement": [
        <...>
        {
            "Sid": "__sender_statement",
            "Effect": "Allow",
            "Principal": {
                "AWS": [
                    "arn:aws:iam::956549820650:root" <------ Add this line
                ]
            },
            "Action": [
                "SQS:SendMessage"
            ],
            "Resource": "arn:aws:sqs:ca-central-1:956549820650:"
        }
        <...>
    ]
}

Finialize creation in AWS and copy the Queue URL (you'll need it later ). Navigate to the Edlink platform (in a new tab). Select the relevant application and click on the Data Feeds tab in the left sidebar. Click Create Subscriber in the top right. Select AWS SQS as the feed type.

Create Subscriber

Enter the SQS queue URL in the Queue URL field. You can find the queue URL in the AWS console by navigating to the queue and copying the URL from the top of the page.

Queue URL

Ensure the region is supported, that you have selected the events you want to receive, and click Create Subscriber.

Supported Regions

Edlink currently supports the following regions for SQS:

Please make sure to use one of these regions when creating your SQS queue.

US Regions:

  • US East (N. Virginia) - us-east-1
  • US East (Ohio) - us-east-2
  • US West (N. California) - us-west-1
  • US West (Oregon) - us-west-2

Asia Pacific Regions:

  • Asia Pacific (Mumbai) - ap-south-1
  • Asia Pacific (Osaka) - ap-northeast-3
  • Asia Pacific (Seoul) - ap-northeast-2
  • Asia Pacific (Singapore) - ap-southeast-1
  • Asia Pacific (Sydney) - ap-southeast-2
  • Asia Pacific (Tokyo) - ap-northeast-1

Canada Region:

  • Canada (Central) - ca-central-1

Europe Regions:

  • Europe (Frankfurt) - eu-central-1
  • Europe (Ireland) - eu-west-1
  • Europe (London) - eu-west-2
  • Europe (Paris) - eu-west-3
  • Europe (Stockholm) - eu-north-1

South America Region:

  • South America (São Paulo) - sa-east-1