Configure an Amazon SQS external application in Cortex Cloud to forward cases and issues to an SQS queue.
Log in to your AWS Management Console and create a new Standard SQS queue.
Before forwarding cases or issues to Amazon SQS, you need to configure egress. Only a user with Account Admin or Instance Admin permissions can configure egress.
To configure egress, you need to enter the queue name. For example, if the full URL is https://sqs.region.amazonaws.com/account-id/queue-name, enter only queue-name.
In the Cortex Gateway, go to → → .
Select the account name and tenant.
In the Flow field, select External storage: AWS SQS.
Enter the exact <queue_name>. For example,
my-example-queue. Note that the path does not include HTTP or HTTPS.Add the configuration.
In Cortex Cloud, go to → → → → and select Amazon SQS.
Enter the queue URL from Amazon SQS. Use the URL format rather than the ARN for this specific field.
Click Verify. If egress has not been configured in the Cortex Gateway, verification will fail and a message will display that the endpoint does not match any approved routes.
After verification is successful, an authorized party ID is generated. Copy this ID for your AWS configuration.
Leave this page open to complete the application configuration.
Cortex Cloud needs permission to assume a role in your account.
You can authenticate using either an IAM role or IAM access keys.
IAM role:
In AWS, go to → → , select Custom trust policy, and enter the Trusted Entity JSON, replacing the sub condition with your Authorized party ID. The following is an example:
{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Principal": { "Federated": "accounts.google.com" }, "Action": "sts:AssumeRoleWithWebIdentity", "Condition": { "StringEquals": { "accounts.google.com:sub": "<Your_Authorized_Party_ID>" } } } ] }Create and attach a policy granting permissions to access your queue ARN. The policy must allow
sqs:ListQueuesandsqs:SendMessage. Verify your resource matches your exact queue ARN. For example:{ "Version": "2012-10-17", "Statement": [ { "Sid": "AllowLogsToSQS", "Effect": "Allow", "Action": [ "sqs:GetQueueAttributes", "sqs:ListQueues", "sqs:SendMessage" ], "Resource": [ "arn:aws:sqs:<region>:<account_id>:<queue_name>" ] } ] }
IAM access keys: Verify the user associated with the access key and secret key has related permissions to accept the data.
Go back to Cortex Cloud and enter the instance name and an optional description.
Select either IAM Role or IAM Access Keys.
For IAM role, paste the role ARN (Amazon Resource Name) from the role you created.
For IAM access keys, enter the access key and secret key.
Click Test to verify Cortex Cloud can write a test object, then click Connect.
Follow the instructions for Configure notification forwarding.