AWS SQS is a pull-queue on AWS. The queue must be a Standard queue type with a MaximumMessageSize of 256 KB.

We recommend setting `authenticationMode` to `IAM`, to avoid unnecessary key management. For IAM authentication and before creating the Subscription, give permissions to the following user account: `arn:aws-cn:iam::417094354346:user/subscriptions` if the Project is hosted in the China (AWS, Ningxia) Region; `arn:aws:iam::362576667341:user/subscriptions` for all other [Regions](/../api/general-concepts#regions). Otherwise, a test message will not be sent.

If you prefer to use `Credentials` for authentication, we recommend [creating an IAM user](https://docs.aws.amazon.com/sns/latest/dg/sns-setting-up.html#create-iam-user) with an `accessKey` and `accessSecret` pair specifically for each Subscription.

The IAM user should only have the `sqs:SendMessage` permission on this queue.
interface SqsDestination {
    accessKey?: string;
    accessSecret?: string;
    authenticationMode?: string;
    queueUrl: string;
    region: string;
    type: "SQS";
}

Properties

accessKey?: string

Only present if authenticationMode is set to Credentials.

accessSecret?: string

Only present if authenticationMode is set to Credentials.

authenticationMode?: string

Defines the method of authentication for the SQS queue.

queueUrl: string

URL of the Amazon SQS queue.

region: string

AWS Region the message queue is located in.

type: "SQS"