Class S3EndpointOptions
Endpoint options for S3/MinIO transport. All properties are auto-bound from URI query parameters.
URI format: s3://bucket-name?region=us-east-1&accessKey=KEY&secretKey=SECRET
For producer operations: s3:PutObject:bucket-name?keyName=folder/${header.name}&...
Enterprise-grade S3 integration compatible with AWS S3 and MinIO.
Supports multipart uploads, server-side encryption (SSE-S3, SSE-KMS, SSE-C),
presigned URLs, tagging, versioning, ACL, lifecycle, and more.
Inspired by Apache Camel's aws2-s3 component (81 parameters).
public class S3EndpointOptions : EndpointOptions
Inheritance
Inherited Members
Properties
AccessKey
AWS access key ID. Required unless using default credentials provider.
public string AccessKey { get; set; }
AutoCreateBucket
Automatically create the S3 bucket if it doesn't exist.
public bool AutoCreateBucket { get; set; }
CannedAcl
Canned ACL for uploaded objects. (default: Private)
public S3CannedAcl CannedAcl { get; set; }
ConditionalWrite
If true, upload only succeeds if the object key does not already exist.
public bool ConditionalWrite { get; set; }
ConnectionFactory
Named connection factory reference. If set, looks up an
[RegistryReference(typeof(S3ConnectionFactory))]
public string ConnectionFactory { get; set; }
ConnectionTimeout
Connection timeout in milliseconds. (default: 30000 = 30s)
public int ConnectionTimeout { get; set; }
ContentDisposition
Content-Disposition header for uploaded objects.
public string ContentDisposition { get; set; }
ContentEncoding
Content-Encoding header for uploaded objects (e.g. "gzip").
public string ContentEncoding { get; set; }
ContentType
Content-Type for uploaded objects. Empty = auto-detect.
public string ContentType { get; set; }
CustomerKeyId
Customer encryption key (base64-encoded) for SSE-C.
public string CustomerKeyId { get; set; }
CustomerKeyMD5
MD5 hash of the customer encryption key (base64-encoded) for SSE-C.
public string CustomerKeyMD5 { get; set; }
Delay
Polling delay in milliseconds between bucket scans. (default: 60000 = 60s)
public int Delay { get; set; }
DeleteAfterRead
Delete objects from S3 after they have been successfully consumed.
public bool DeleteAfterRead { get; set; }
Delimiter
Delimiter for ListObjectsV2 to group keys (typically "/").
public string Delimiter { get; set; }
DestinationBucket
Destination bucket for move-after-read. Required when MoveAfterRead=true.
public string DestinationBucket { get; set; }
DestinationBucketPrefix
Prefix to add to the destination key when moving objects.
public string DestinationBucketPrefix { get; set; }
DestinationBucketSuffix
Suffix to add to the destination key when moving objects.
public string DestinationBucketSuffix { get; set; }
DoneFileName
Done file marker pattern. If set, the consumer only processes an object
public string DoneFileName { get; set; }
FileName
Filter consumer to only process a specific object by key name.
public string FileName { get; set; }
ForcePathStyle
Use path-style URL (http://host/bucket/key) instead of virtual-hosted-style
public bool ForcePathStyle { get; set; }
Idempotent
Enable idempotent consumer — skip objects already processed
public bool Idempotent { get; set; }
IdempotentRepository
Name of an IIdempotentRepository registered via
[RegistryReference(typeof(IIdempotentRepository))]
public string IdempotentRepository { get; set; }
IgnoreBody
If true, the S3 object body is completely ignored (no download, no stream).
public bool IgnoreBody { get; set; }
Include
Glob pattern to include objects (applied to the object key). e.g. ".csv", "data/.json".
public string Include { get; set; }
IncludeBody
If true, download the object body and place it in the exchange body.
public bool IncludeBody { get; set; }
IncludeFolders
If true, include folder/directory marker objects in consumer results.
public bool IncludeFolders { get; set; }
InitialDelay
Initial delay before the first poll in milliseconds. (default: 1000)
public int InitialDelay { get; set; }
KeyName
Dynamic object key name for upload. Supports ${header.xxx} expressions.
public DynamicValue<string>? KeyName { get; set; }
MaxAge
Maximum object age in milliseconds. Objects older than this are skipped. 0 = no limit. (default: 0)
public long MaxAge { get; set; }
MaxConnections
Maximum number of connections in the SDK connection pool. (default: 50)
public int MaxConnections { get; set; }
MaxMessagesPerPoll
Maximum number of objects to retrieve per poll. 0 = unlimited. (default: 10)
public int MaxMessagesPerPoll { get; set; }
Metadata
User metadata as comma-separated key=value pairs to attach to uploaded objects.
public string Metadata { get; set; }
MinAge
Minimum object age in milliseconds before consumption. (default: 0)
public long MinAge { get; set; }
MultiPartUpload
If true, use multipart upload for files larger than .
public bool MultiPartUpload { get; set; }
PartSize
Part size in bytes for multipart uploads. Minimum AWS limit: 5 MB.
public long PartSize { get; set; }
Prefix
Prefix filter for ListObjectsV2. Only objects whose key starts with this prefix
public string Prefix { get; set; }
PresignedUrlExpiration
Presigned URL expiration in milliseconds.
public long PresignedUrlExpiration { get; set; }
ProfileName
AWS named profile for credentials (from ~/.aws/credentials).
public string ProfileName { get; set; }
Region
AWS region (e.g. "us-east-1", "eu-west-1"). Required for AWS S3.
public string Region { get; set; }
RemovePrefixOnMove
Remove the source prefix from the key before constructing the destination key.
public bool RemovePrefixOnMove { get; set; }
RetryCount
Number of retry attempts for failed requests. (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. Required unless using default credentials provider.
public string SecretKey { get; set; }
SendEmptyMessageWhenIdle
If the poll returns no objects, send an empty exchange (heartbeat).
public bool SendEmptyMessageWhenIdle { get; set; }
ServerSideEncryption
Server-side encryption mode. (default: None)
public S3ServerSideEncryption ServerSideEncryption { get; set; }
ServiceUrl
Custom service URL for S3-compatible storage (MinIO, Dell ECS, Ceph, etc.).
public string ServiceUrl { get; set; }
SessionToken
AWS session token for temporary credentials (STS AssumeRole).
public string SessionToken { get; set; }
SocketTimeout
Socket/read timeout in milliseconds. (default: 60000 = 60s)
public int SocketTimeout { get; set; }
StorageClass
S3 storage class for uploaded objects: STANDARD, REDUCED_REDUNDANCY, GLACIER,
public string StorageClass { get; set; }
StreamBody
If true, the exchange body is set to the S3 response stream (Stream) instead of byte[].
public bool StreamBody { get; set; }
TrustAllCertificates
Trust all SSL certificates (for self-signed MinIO certs). (default: false)
public bool TrustAllCertificates { get; set; }
UseDefaultCredentialsProvider
Use the default AWS credentials provider chain (env vars, instance profile, etc.)
public bool UseDefaultCredentialsProvider { get; set; }
Methods
Validate()
Validates required parameters and constraints. Called after BindFromUri.
public override void Validate()