Path: redb-route/redb.Route.S3/S3Enums.cs
Snapshot: redb-route, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages.
License: Apache-2.0. Repository: https://github.com/redbase-app/redb-route
Page: https://redbase.app/src/dev-2026-12-06/redb-route/redb.Route.S3/S3Enums.cs
----
namespace redb.Route.S3;
///
/// Server-side encryption modes for S3 objects.
///
public enum S3ServerSideEncryption
{
/// No server-side encryption.
None,
/// SSE-S3: Amazon S3 managed keys (AES-256).
Aes256,
/// SSE-KMS: AWS Key Management Service managed keys.
AwsKms,
/// SSE-C: Customer-provided encryption keys.
CustomerKey,
}
///
/// Sort order for consumer polling results.
///
public enum S3SortBy
{
/// No sorting (S3 listing order).
None,
/// Sort by object key ascending.
Key,
/// Sort by object key descending.
KeyDesc,
/// Sort by last modified ascending.
LastModified,
/// Sort by last modified descending.
LastModifiedDesc,
/// Sort by size ascending.
Size,
/// Sort by size descending.
SizeDesc,
}
///
/// Canned ACL presets for S3 objects and buckets.
///
public enum S3CannedAcl
{
/// Owner gets FULL_CONTROL. No one else has access rights.
Private,
/// Owner gets FULL_CONTROL. The AllUsers group gets READ access.
PublicRead,
/// Owner gets FULL_CONTROL. The AllUsers group gets READ and WRITE access.
PublicReadWrite,
/// Owner gets FULL_CONTROL. The AuthenticatedUsers group gets READ access.
AuthenticatedRead,
/// Object owner gets FULL_CONTROL. Bucket owner gets READ access.
BucketOwnerRead,
/// Both the object owner and the bucket owner get FULL_CONTROL.
BucketOwnerFullControl,
}