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"
#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 | 249 | 6/5/2025 |
7.0.0 | 319,287 | 11/15/2023 |
7.0.0-alpha02 | 593 | 8/2/2023 |
7.0.0-alpha01 | 588 | 3/27/2023 |
6.5.0 | 167,425 | 5/11/2022 |
6.4.0 | 138,071 | 4/4/2022 |
6.3.2 | 84,276 | 6/3/2021 |
6.3.1 | 25,042 | 3/23/2021 |
6.3.0 | 12,847 | 2/21/2021 |
6.2.0 | 38,513 | 12/3/2020 |
6.1.2 | 4,085 | 11/1/2020 |
6.1.1 | 9,383 | 8/6/2020 |
6.1.0 | 1,571 | 6/24/2020 |
6.0.0 | 11,520 | 2/18/2020 |
5.0.0-b03 | 17,966 | 8/15/2018 |
5.0.0-b02 | 1,393 | 8/2/2018 |
5.0.0-b01 | 1,342 | 8/2/2018 |
4.1.1 | 35,025 | 3/2/2018 |
4.1.0 | 18,222 | 1/23/2018 |
4.0.3 | 1,845 | 1/19/2018 |
4.0.2 | 1,895 | 1/9/2018 |
4.0.1 | 2,127 | 10/30/2017 |
4.0.0 | 4,982 | 8/15/2017 |
4.0.0-b11 | 1,539 | 7/5/2017 |
4.0.0-b09 | 1,762 | 6/21/2017 |
4.0.0-b08 | 1,462 | 6/1/2017 |
4.0.0-b07 | 1,469 | 5/18/2017 |
4.0.0-b06 | 1,523 | 5/17/2017 |
4.0.0-b05 | 1,448 | 4/19/2017 |
4.0.0-b03 | 2,739 | 4/4/2017 |
4.0.0-b01 | 1,438 | 3/23/2017 |
3.0.0 | 35,308 | 1/5/2017 |
2.1.0 | 5,296 | 12/20/2016 |
2.0.0 | 2,035 | 9/20/2016 |
2.0.0-b02 | 1,467 | 9/12/2016 |
2.0.0-b01 | 1,477 | 9/9/2016 |
2.0.0-a4 | 1,713 | 9/7/2016 |
0.99.74 | 1,725 | 8/29/2016 |
0.99.73 | 1,681 | 8/12/2016 |
0.99.72 | 1,749 | 8/4/2016 |
0.99.71 | 1,978 | 8/3/2016 |
0.99.70 | 1,935 | 7/29/2016 |
0.99.68 | 1,717 | 7/18/2016 |
0.99.67 | 1,732 | 7/1/2016 |
0.99.66 | 1,755 | 6/28/2016 |
0.99.65 | 1,737 | 6/23/2016 |
0.99.64 | 1,723 | 6/22/2016 |
0.99.63 | 1,736 | 6/21/2016 |
0.99.62 | 1,778 | 6/17/2016 |
0.99.61 | 1,717 | 6/17/2016 |
0.99.60 | 1,783 | 6/15/2016 |
0.99.59 | 1,696 | 6/3/2016 |
0.99.58 | 1,754 | 5/24/2016 |
0.99.57 | 1,713 | 5/22/2016 |
0.99.56 | 1,725 | 5/22/2016 |
0.99.55 | 1,912 | 5/16/2016 |
0.99.54 | 1,757 | 5/12/2016 |
0.99.53 | 1,748 | 5/12/2016 |
0.99.52 | 1,703 | 5/11/2016 |
0.99.51 | 1,646 | 5/9/2016 |
0.99.50 | 1,770 | 4/13/2016 |
0.99.48 | 1,698 | 4/6/2016 |
0.99.47 | 1,787 | 3/31/2016 |
0.99.46 | 1,740 | 3/30/2016 |
0.99.45 | 1,704 | 3/29/2016 |
0.99.44 | 1,732 | 3/26/2016 |
0.99.43 | 1,760 | 3/26/2016 |
0.99.42 | 1,742 | 3/22/2016 |
0.99.41 | 1,764 | 3/17/2016 |
0.99.40 | 1,787 | 3/15/2016 |
0.99.39 | 1,739 | 3/14/2016 |
0.99.38 | 1,738 | 3/9/2016 |
0.99.37 | 1,720 | 3/9/2016 |
0.99.36 | 1,778 | 3/3/2016 |
0.99.35 | 1,878 | 2/22/2016 |
0.99.34 | 1,736 | 2/19/2016 |
0.99.33 | 1,950 | 2/12/2016 |
0.99.32 | 1,770 | 2/10/2016 |
0.99.31 | 1,744 | 2/8/2016 |
0.99.30 | 1,755 | 2/5/2016 |
0.99.29 | 2,316 | 2/2/2016 |
0.99.27 | 1,725 | 1/28/2016 |
0.99.26 | 1,706 | 1/27/2016 |
0.99.25 | 1,730 | 1/22/2016 |
0.99.24 | 1,864 | 1/18/2016 |
0.99.23 | 1,741 | 12/18/2015 |
0.99.22 | 1,723 | 12/18/2015 |
0.99.21 | 1,961 | 12/11/2015 |
0.99.20 | 1,921 | 12/10/2015 |
0.99.19 | 1,825 | 12/8/2015 |
0.99.18 | 1,834 | 12/7/2015 |
0.99.17 | 1,721 | 12/7/2015 |
0.99.16 | 1,970 | 11/30/2015 |
0.99.14 | 1,889 | 11/24/2015 |
0.99.13 | 1,850 | 11/23/2015 |
0.99.12 | 1,796 | 11/17/2015 |
0.99.11 | 1,790 | 11/17/2015 |
0.99.10 | 1,789 | 11/11/2015 |
0.99.9 | 1,791 | 11/5/2015 |
0.99.8 | 1,745 | 11/5/2015 |
0.99.7 | 1,811 | 10/29/2015 |
0.99.5 | 1,781 | 10/27/2015 |
0.99.4 | 1,757 | 10/27/2015 |
0.99.2 | 1,764 | 10/12/2015 |
0.99.1 | 1,825 | 10/8/2015 |
0.99.0 | 2,106 | 10/7/2015 |
0.98.12 | 1,796 | 9/17/2015 |
0.98.11 | 1,767 | 9/17/2015 |
0.98.10 | 1,775 | 9/16/2015 |
0.98.9 | 1,785 | 9/14/2015 |
0.98.8 | 1,802 | 9/13/2015 |
0.98.7 | 1,781 | 9/9/2015 |
0.98.6 | 1,793 | 9/7/2015 |
0.98.5 | 1,740 | 9/3/2015 |
0.98.4 | 1,767 | 9/3/2015 |
0.98.3 | 1,792 | 9/1/2015 |
0.98.2 | 1,779 | 8/27/2015 |
0.98.1 | 1,779 | 8/27/2015 |
0.98.0 | 1,807 | 8/26/2015 |
0.97.0 | 1,760 | 8/25/2015 |
0.96.0 | 1,782 | 8/24/2015 |
0.95.0 | 1,787 | 8/20/2015 |
0.94.0 | 1,763 | 8/19/2015 |
0.93.0 | 1,767 | 8/19/2015 |
0.92.4 | 1,788 | 8/17/2015 |
0.92.3 | 1,971 | 8/13/2015 |
0.92.2 | 1,899 | 8/12/2015 |
0.92.1 | 2,170 | 8/12/2015 |
0.92.0 | 1,917 | 8/11/2015 |
0.91.0 | 2,024 | 8/11/2015 |
0.90.9 | 2,087 | 8/10/2015 |
0.90.8 | 2,101 | 8/9/2015 |
0.90.7 | 2,026 | 8/5/2015 |
0.90.6 | 2,009 | 8/4/2015 |
0.90.5 | 2,027 | 8/4/2015 |
0.90.4 | 1,974 | 8/2/2015 |
0.90.3 | 1,903 | 8/2/2015 |
0.90.2 | 1,902 | 7/31/2015 |
0.90.1 | 1,926 | 7/29/2015 |
0.90.0 | 1,928 | 7/29/2015 |