Class S3ConnectionFactory
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
Properties
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; }
RetryMode
Retry mode: "standard" or "adaptive". (default: "standard")
public string RetryMode { 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; }