Class S3ConnectionFactory

Namespace: redb.Route.S3
Assembly: redb.Route.S3.dll

Connection factory for S3/MinIO. Register via DI or in the route registry
and reference by name in endpoint URIs (connectionFactory=myFactory).

Supports AWS S3, MinIO, Dell ECS, Ceph, and other S3-compatible stores.

public sealed class S3ConnectionFactory

Inheritance

Object→S3ConnectionFactory

Properties

AccessKey

AWS access key ID.

public string AccessKey { get; set; }

ConnectionTimeout

Connection timeout in milliseconds. (default: 30000)

public int ConnectionTimeout { get; set; }

ForcePathStyle

Use path-style URLs (required for MinIO and most S3-compatible stores).

public bool ForcePathStyle { get; set; }

MaxConnections

Maximum concurrent connections. (default: 50)

public int MaxConnections { get; set; }

ProfileName

AWS named profile from ~/.aws/credentials.

public string ProfileName { get; set; }

ProxyHost

HTTP proxy host.

public string ProxyHost { get; set; }

ProxyPort

HTTP proxy port.

public int ProxyPort { get; set; }

Region

AWS region. (default: "us-east-1")

public string Region { get; set; }

RetryCount

Number of retry attempts. (default: 3)

public int RetryCount { get; set; }

RetryMode

Retry mode: "standard" or "adaptive". (default: "standard")

public string RetryMode { get; set; }

SecretKey

AWS secret access key.

public string SecretKey { get; set; }

ServiceUrl

Custom service URL for S3-compatible stores (MinIO, Dell ECS, Ceph).

public string ServiceUrl { get; set; }

SessionToken

AWS session token (for temporary STS credentials).

public string SessionToken { get; set; }

SocketTimeout

Socket/read timeout in milliseconds. (default: 60000)

public int SocketTimeout { get; set; }

TrustAllCertificates

Trust all SSL certificates. (default: false)

public bool TrustAllCertificates { get; set; }

UseDefaultCredentialsProvider

Use the default AWS credentials provider chain.

public bool UseDefaultCredentialsProvider { get; set; }

Methods

Build()

Creates an and an client

public IAmazonS3 Build()