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 | 531 | 6/5/2025 |
7.0.0 | 337,181 | 11/15/2023 |
7.0.0-alpha02 | 609 | 8/2/2023 |
7.0.0-alpha01 | 604 | 3/27/2023 |
6.5.0 | 169,523 | 5/11/2022 |
6.4.0 | 138,086 | 4/4/2022 |
6.3.2 | 84,492 | 6/3/2021 |
6.3.1 | 25,210 | 3/23/2021 |
6.3.0 | 12,885 | 2/21/2021 |
6.2.0 | 38,596 | 12/3/2020 |
6.1.2 | 4,101 | 11/1/2020 |
6.1.1 | 9,403 | 8/6/2020 |
6.1.0 | 1,586 | 6/24/2020 |
6.0.0 | 11,566 | 2/18/2020 |
5.0.0-b03 | 18,019 | 8/15/2018 |
5.0.0-b02 | 1,429 | 8/2/2018 |
5.0.0-b01 | 1,381 | 8/2/2018 |
4.1.1 | 35,087 | 3/2/2018 |
4.1.0 | 18,273 | 1/23/2018 |
4.0.3 | 1,899 | 1/19/2018 |
4.0.2 | 1,948 | 1/9/2018 |
4.0.1 | 2,164 | 10/30/2017 |
4.0.0 | 5,021 | 8/15/2017 |
4.0.0-b11 | 1,573 | 7/5/2017 |
4.0.0-b09 | 1,801 | 6/21/2017 |
4.0.0-b08 | 1,503 | 6/1/2017 |
4.0.0-b07 | 1,503 | 5/18/2017 |
4.0.0-b06 | 1,557 | 5/17/2017 |
4.0.0-b05 | 1,485 | 4/19/2017 |
4.0.0-b03 | 2,778 | 4/4/2017 |
4.0.0-b01 | 1,477 | 3/23/2017 |
3.0.0 | 35,344 | 1/5/2017 |
2.1.0 | 5,331 | 12/20/2016 |
2.0.0 | 2,073 | 9/20/2016 |
2.0.0-b02 | 1,507 | 9/12/2016 |
2.0.0-b01 | 1,513 | 9/9/2016 |
2.0.0-a4 | 1,754 | 9/7/2016 |
0.99.74 | 1,764 | 8/29/2016 |
0.99.73 | 1,720 | 8/12/2016 |
0.99.72 | 1,782 | 8/4/2016 |
0.99.71 | 2,016 | 8/3/2016 |
0.99.70 | 1,967 | 7/29/2016 |
0.99.68 | 1,749 | 7/18/2016 |
0.99.67 | 1,772 | 7/1/2016 |
0.99.66 | 1,790 | 6/28/2016 |
0.99.65 | 1,768 | 6/23/2016 |
0.99.64 | 1,762 | 6/22/2016 |
0.99.63 | 1,774 | 6/21/2016 |
0.99.62 | 1,813 | 6/17/2016 |
0.99.61 | 1,750 | 6/17/2016 |
0.99.60 | 1,819 | 6/15/2016 |
0.99.59 | 1,733 | 6/3/2016 |
0.99.58 | 1,792 | 5/24/2016 |
0.99.57 | 1,748 | 5/22/2016 |
0.99.56 | 1,761 | 5/22/2016 |
0.99.55 | 1,948 | 5/16/2016 |
0.99.54 | 1,792 | 5/12/2016 |
0.99.53 | 1,783 | 5/12/2016 |
0.99.52 | 1,735 | 5/11/2016 |
0.99.51 | 1,682 | 5/9/2016 |
0.99.50 | 1,803 | 4/13/2016 |
0.99.48 | 1,733 | 4/6/2016 |
0.99.47 | 1,823 | 3/31/2016 |
0.99.46 | 1,773 | 3/30/2016 |
0.99.45 | 1,736 | 3/29/2016 |
0.99.44 | 1,768 | 3/26/2016 |
0.99.43 | 1,795 | 3/26/2016 |
0.99.42 | 1,779 | 3/22/2016 |
0.99.41 | 1,798 | 3/17/2016 |
0.99.40 | 1,819 | 3/15/2016 |
0.99.39 | 1,774 | 3/14/2016 |
0.99.38 | 1,775 | 3/9/2016 |
0.99.37 | 1,753 | 3/9/2016 |
0.99.36 | 1,817 | 3/3/2016 |
0.99.35 | 1,916 | 2/22/2016 |
0.99.34 | 1,773 | 2/19/2016 |
0.99.33 | 2,000 | 2/12/2016 |
0.99.32 | 1,809 | 2/10/2016 |
0.99.31 | 1,776 | 2/8/2016 |
0.99.30 | 1,791 | 2/5/2016 |
0.99.29 | 2,349 | 2/2/2016 |
0.99.27 | 1,758 | 1/28/2016 |
0.99.26 | 1,738 | 1/27/2016 |
0.99.25 | 1,763 | 1/22/2016 |
0.99.24 | 1,899 | 1/18/2016 |
0.99.23 | 1,777 | 12/18/2015 |
0.99.22 | 1,757 | 12/18/2015 |
0.99.21 | 2,007 | 12/11/2015 |
0.99.20 | 1,969 | 12/10/2015 |
0.99.19 | 1,858 | 12/8/2015 |
0.99.18 | 1,871 | 12/7/2015 |
0.99.17 | 1,753 | 12/7/2015 |
0.99.16 | 2,007 | 11/30/2015 |
0.99.14 | 1,928 | 11/24/2015 |
0.99.13 | 1,882 | 11/23/2015 |
0.99.12 | 1,832 | 11/17/2015 |
0.99.11 | 1,822 | 11/17/2015 |
0.99.10 | 1,823 | 11/11/2015 |
0.99.9 | 1,823 | 11/5/2015 |
0.99.8 | 1,780 | 11/5/2015 |
0.99.7 | 1,848 | 10/29/2015 |
0.99.5 | 1,813 | 10/27/2015 |
0.99.4 | 1,796 | 10/27/2015 |
0.99.2 | 1,796 | 10/12/2015 |
0.99.1 | 1,858 | 10/8/2015 |
0.99.0 | 2,141 | 10/7/2015 |
0.98.12 | 1,834 | 9/17/2015 |
0.98.11 | 1,804 | 9/17/2015 |
0.98.10 | 1,813 | 9/16/2015 |
0.98.9 | 1,821 | 9/14/2015 |
0.98.8 | 1,839 | 9/13/2015 |
0.98.7 | 1,817 | 9/9/2015 |
0.98.6 | 1,831 | 9/7/2015 |
0.98.5 | 1,774 | 9/3/2015 |
0.98.4 | 1,809 | 9/3/2015 |
0.98.3 | 1,830 | 9/1/2015 |
0.98.2 | 1,813 | 8/27/2015 |
0.98.1 | 1,813 | 8/27/2015 |
0.98.0 | 1,840 | 8/26/2015 |
0.97.0 | 1,796 | 8/25/2015 |
0.96.0 | 1,814 | 8/24/2015 |
0.95.0 | 1,824 | 8/20/2015 |
0.94.0 | 1,804 | 8/19/2015 |
0.93.0 | 1,806 | 8/19/2015 |
0.92.4 | 1,827 | 8/17/2015 |
0.92.3 | 2,018 | 8/13/2015 |
0.92.2 | 1,945 | 8/12/2015 |
0.92.1 | 2,239 | 8/12/2015 |
0.92.0 | 1,950 | 8/11/2015 |
0.91.0 | 2,061 | 8/11/2015 |
0.90.9 | 2,125 | 8/10/2015 |
0.90.8 | 2,139 | 8/9/2015 |
0.90.7 | 2,059 | 8/5/2015 |
0.90.6 | 2,045 | 8/4/2015 |
0.90.5 | 2,066 | 8/4/2015 |
0.90.4 | 2,010 | 8/2/2015 |
0.90.3 | 1,941 | 8/2/2015 |
0.90.2 | 1,934 | 7/31/2015 |
0.90.1 | 1,963 | 7/29/2015 |
0.90.0 | 1,960 | 7/29/2015 |