Rebus.AmazonSqs
8.0.0
dotnet add package Rebus.AmazonSqs --version 8.0.0
NuGet\Install-Package Rebus.AmazonSqs -Version 8.0.0
<PackageReference Include="Rebus.AmazonSqs" Version="8.0.0" />
<PackageVersion Include="Rebus.AmazonSqs" Version="8.0.0" />
<PackageReference Include="Rebus.AmazonSqs" />
paket add Rebus.AmazonSqs --version 8.0.0
#r "nuget: Rebus.AmazonSqs, 8.0.0"
#:package Rebus.AmazonSqs@8.0.0
#addin nuget:?package=Rebus.AmazonSqs&version=8.0.0
#tool nuget:?package=Rebus.AmazonSqs&version=8.0.0
Rebus.AmazonSQS
Provides an Amazon SQS transport for Rebus.

Usage
Using bare-bones Rebus with the built-in container adapter, you would do something like this:
using var activator = new BuiltinHandlerActivator();
Configure.With(activator)
.Transport(t => t.UseAmazonSQS(accessKeyId, accessKey, regionEndpoint, queueName))
.Start();
Console.ReadLine();
but for most apps, it would probably be more appropriate to use Microsoft.Extensions.Hosting and Rebus.ServiceProvider and do this:
services.AddRebus(
configure => configure
.Transport(t => t.UseAmazonSQS(accessKeyId, accessKey, regionEndpoint, queueName))
);
Required AWS security policies
The policy required for receiving messages from a SQS queue using "least-privilege principle" is as follows:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"sqs:DeleteMessage",
"sqs:GetQueueUrl",
"sqs:ChangeMessageVisibility",
"sqs:DeleteMessageBatch",
"sqs:SendMessageBatch",
"sqs:SendMessage",
"sqs:ReceiveMessage",
"sqs:DeleteQueue",
"sqs:CreateQueue",
"sqs:SetQueueAttributes"
],
"Resource": "[Your SQS incoming queue and DLQ arn here]"
}
]
}
Note that the last three actions(sqs:DeleteQueue, sqs:CreateQueue and sqs:SetQueueAttribute) is only required if AmazonSQSTransportOptions.CreateQueue is set to true, otherwise they could/should be omitted. It is the default behaviour that CreateQueue is set to true, hence they are included in the above ACL.
To be able to send to a queue the following permissions are required on the target queue:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"sqs:GetQueueUrl",
"sqs:SendMessageBatch",
],
"Resource": "[Your SQS outgoing target queue arn here]"
}
]
}
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- awssdk.sqs (>= 4.0.0.5)
- Rebus (>= 8.8.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on Rebus.AmazonSqs:
| Repository | Stars |
|---|---|
|
mastreeno/Merp
An event based Micro ERP
|
| Version | Downloads | Last Updated |
|---|---|---|
| 8.0.0 | 34,907 | 6/5/2025 |
| 7.0.0 | 480,489 | 11/15/2023 |
| 7.0.0-alpha02 | 681 | 8/2/2023 |
| 7.0.0-alpha01 | 700 | 3/27/2023 |
| 6.5.0 | 179,475 | 5/11/2022 |
| 6.4.0 | 138,330 | 4/4/2022 |
| 6.3.2 | 86,166 | 6/3/2021 |
| 6.3.1 | 26,098 | 3/23/2021 |
| 6.3.0 | 13,339 | 2/21/2021 |
| 6.2.0 | 40,100 | 12/3/2020 |
| 6.1.2 | 4,370 | 11/1/2020 |
| 6.1.1 | 9,699 | 8/6/2020 |
| 6.1.0 | 1,850 | 6/24/2020 |
| 6.0.0 | 11,998 | 2/18/2020 |
| 5.0.0-b03 | 18,189 | 8/15/2018 |
| 5.0.0-b02 | 1,607 | 8/2/2018 |
| 5.0.0-b01 | 1,561 | 8/2/2018 |
| 4.1.1 | 35,699 | 3/2/2018 |
| 4.1.0 | 18,668 | 1/23/2018 |
| 4.0.3 | 2,356 | 1/19/2018 |
| 4.0.2 | 2,357 | 1/9/2018 |
| 4.0.1 | 2,561 | 10/30/2017 |
| 4.0.0 | 5,356 | 8/15/2017 |
| 4.0.0-b11 | 1,754 | 7/5/2017 |
| 4.0.0-b09 | 1,969 | 6/21/2017 |
| 4.0.0-b08 | 1,681 | 6/1/2017 |
| 4.0.0-b07 | 1,694 | 5/18/2017 |
| 4.0.0-b06 | 1,707 | 5/17/2017 |
| 4.0.0-b05 | 1,693 | 4/19/2017 |
| 4.0.0-b03 | 2,953 | 4/4/2017 |
| 4.0.0-b01 | 1,652 | 3/23/2017 |
| 3.0.0 | 35,665 | 1/5/2017 |
| 2.1.0 | 5,691 | 12/20/2016 |
| 2.0.0 | 2,427 | 9/20/2016 |
| 2.0.0-b02 | 1,676 | 9/12/2016 |
| 2.0.0-b01 | 1,669 | 9/9/2016 |
| 2.0.0-a4 | 1,933 | 9/7/2016 |
| 0.99.74 | 2,116 | 8/29/2016 |
| 0.99.73 | 2,069 | 8/12/2016 |
| 0.99.72 | 2,102 | 8/4/2016 |
| 0.99.71 | 2,369 | 8/3/2016 |
| 0.99.70 | 2,289 | 7/29/2016 |
| 0.99.68 | 2,071 | 7/18/2016 |
| 0.99.67 | 2,109 | 7/1/2016 |
| 0.99.66 | 2,122 | 6/28/2016 |
| 0.99.65 | 2,099 | 6/23/2016 |
| 0.99.64 | 2,114 | 6/22/2016 |
| 0.99.63 | 2,106 | 6/21/2016 |
| 0.99.62 | 2,171 | 6/17/2016 |
| 0.99.61 | 2,100 | 6/17/2016 |
| 0.99.60 | 2,154 | 6/15/2016 |
| 0.99.59 | 2,079 | 6/3/2016 |
| 0.99.58 | 2,155 | 5/24/2016 |
| 0.99.57 | 2,093 | 5/22/2016 |
| 0.99.56 | 2,104 | 5/22/2016 |
| 0.99.55 | 2,289 | 5/16/2016 |
| 0.99.54 | 2,136 | 5/12/2016 |
| 0.99.53 | 2,128 | 5/12/2016 |
| 0.99.52 | 2,081 | 5/11/2016 |
| 0.99.51 | 2,034 | 5/9/2016 |
| 0.99.50 | 2,132 | 4/13/2016 |
| 0.99.48 | 2,088 | 4/6/2016 |
| 0.99.47 | 2,174 | 3/31/2016 |
| 0.99.46 | 2,110 | 3/30/2016 |
| 0.99.45 | 2,063 | 3/29/2016 |
| 0.99.44 | 2,115 | 3/26/2016 |
| 0.99.43 | 2,161 | 3/26/2016 |
| 0.99.42 | 2,124 | 3/22/2016 |
| 0.99.41 | 2,136 | 3/17/2016 |
| 0.99.40 | 2,151 | 3/15/2016 |
| 0.99.39 | 2,128 | 3/14/2016 |
| 0.99.38 | 2,124 | 3/9/2016 |
| 0.99.37 | 2,109 | 3/9/2016 |
| 0.99.36 | 2,177 | 3/3/2016 |
| 0.99.35 | 2,273 | 2/22/2016 |
| 0.99.34 | 2,127 | 2/19/2016 |
| 0.99.33 | 2,410 | 2/12/2016 |
| 0.99.32 | 2,151 | 2/10/2016 |
| 0.99.31 | 2,102 | 2/8/2016 |
| 0.99.30 | 2,127 | 2/5/2016 |
| 0.99.29 | 2,678 | 2/2/2016 |
| 0.99.27 | 2,111 | 1/28/2016 |
| 0.99.26 | 2,067 | 1/27/2016 |
| 0.99.25 | 2,104 | 1/22/2016 |
| 0.99.24 | 2,245 | 1/18/2016 |
| 0.99.23 | 2,115 | 12/18/2015 |
| 0.99.22 | 2,083 | 12/18/2015 |
| 0.99.21 | 2,394 | 12/11/2015 |
| 0.99.20 | 2,380 | 12/10/2015 |
| 0.99.19 | 2,193 | 12/8/2015 |
| 0.99.18 | 2,211 | 12/7/2015 |
| 0.99.17 | 2,085 | 12/7/2015 |
| 0.99.16 | 2,348 | 11/30/2015 |
| 0.99.14 | 2,272 | 11/24/2015 |
| 0.99.13 | 2,232 | 11/23/2015 |
| 0.99.12 | 2,183 | 11/17/2015 |
| 0.99.11 | 2,150 | 11/17/2015 |
| 0.99.10 | 2,177 | 11/11/2015 |
| 0.99.9 | 2,154 | 11/5/2015 |
| 0.99.8 | 2,127 | 11/5/2015 |
| 0.99.7 | 2,199 | 10/29/2015 |
| 0.99.5 | 2,140 | 10/27/2015 |
| 0.99.4 | 2,136 | 10/27/2015 |
| 0.99.2 | 2,149 | 10/12/2015 |
| 0.99.1 | 2,198 | 10/8/2015 |
| 0.99.0 | 2,484 | 10/7/2015 |
| 0.98.12 | 2,170 | 9/17/2015 |
| 0.98.11 | 2,143 | 9/17/2015 |
| 0.98.10 | 2,167 | 9/16/2015 |
| 0.98.9 | 2,175 | 9/14/2015 |
| 0.98.8 | 2,178 | 9/13/2015 |
| 0.98.7 | 2,161 | 9/9/2015 |
| 0.98.6 | 2,183 | 9/7/2015 |
| 0.98.5 | 2,115 | 9/3/2015 |
| 0.98.4 | 2,148 | 9/3/2015 |
| 0.98.3 | 2,171 | 9/1/2015 |
| 0.98.2 | 2,147 | 8/27/2015 |
| 0.98.1 | 2,154 | 8/27/2015 |
| 0.98.0 | 2,170 | 8/26/2015 |
| 0.97.0 | 2,149 | 8/25/2015 |
| 0.96.0 | 2,141 | 8/24/2015 |
| 0.95.0 | 2,156 | 8/20/2015 |
| 0.94.0 | 2,146 | 8/19/2015 |
| 0.93.0 | 2,149 | 8/19/2015 |
| 0.92.4 | 2,174 | 8/17/2015 |
| 0.92.3 | 2,408 | 8/13/2015 |
| 0.92.2 | 2,302 | 8/12/2015 |
| 0.92.1 | 2,669 | 8/12/2015 |
| 0.92.0 | 2,284 | 8/11/2015 |
| 0.91.0 | 2,394 | 8/11/2015 |
| 0.90.9 | 2,473 | 8/10/2015 |
| 0.90.8 | 2,499 | 8/9/2015 |
| 0.90.7 | 2,397 | 8/5/2015 |
| 0.90.6 | 2,396 | 8/4/2015 |
| 0.90.5 | 2,418 | 8/4/2015 |
| 0.90.4 | 2,353 | 8/2/2015 |
| 0.90.3 | 2,291 | 8/2/2015 |
| 0.90.2 | 2,269 | 7/31/2015 |
| 0.90.1 | 2,316 | 7/29/2015 |
| 0.90.0 | 2,304 | 7/29/2015 |