# SQSAdapterFactory Constructors

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.streaming.sqs/orleansawsutils.streams.sqsadapterfactory/)

## SQSAdapterFactory(string, SqsOptions, HashRingStreamQueueMapperOptions, SimpleQueueCacheOptions, IOptions&lt;ClusterOptions&gt;, Serializer, ILoggerFactory) {#constructor-string-orleans-configuration-sqsoptions-orleans-configuration-hashri-d3fe8704}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming.sqs/orleansawsutils.streams.sqsadapterfactory/constructors/constructor-string-orleans-configuration-sqsoptions-orleans-configuration-hashri-d3fe8704/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/AWS/Orleans.Streaming.SQS/Streams/SQSAdapterFactory.cs#L32-L50)

```csharp
public SQSAdapterFactory(string name, SqsOptions sqsOptions, HashRingStreamQueueMapperOptions queueMapperOptions, SimpleQueueCacheOptions cacheOptions, IOptions<ClusterOptions> clusterOptions, Serializer serializer, ILoggerFactory loggerFactory)
```

### Parameters

- `name` (`string`)
- `sqsOptions` (`SqsOptions`)
- `queueMapperOptions` (`HashRingStreamQueueMapperOptions`)
- `cacheOptions` (`SimpleQueueCacheOptions`)
- `clusterOptions` (`IOptions<ClusterOptions>`)
- `serializer` (`Serializer`)
- `loggerFactory` (`ILoggerFactory`)
