Class S3Endpoint

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

S3 endpoint. Creates either a consumer (for polling a bucket)
or a producer (for uploading/managing objects).

The path part of the URI is parsed as [OPERATION:]bucket-name.
When an operation prefix is present (e.g. s3:CopyObject:my-bucket),
the producer dispatches that specific operation.
When no operation is specified, the default is for producer.

public sealed class S3Endpoint : EndpointBase<S3EndpointOptions>, IEndpoint, IEndpointStatistics, IDisposable

Inheritance

Object→S3EndpointOptions}→S3Endpoint

Implements

Properties

BucketName

Bucket name parsed from the URI path.

public string BucketName { get; }

OperationType

Parsed S3 operation type (default: PutObject for producer).

public S3OperationType OperationType { get; }

Methods

CreateConsumer(IProcessor)

Creates a consumer for receiving messages from this endpoint.

public override IConsumer CreateConsumer(IProcessor processor)

CreateProducer()

Creates a producer for sending messages to this endpoint.

public override IProducer CreateProducer()

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

Stop(CancellationToken)

Stops the endpoint lifecycle.

public override Task Stop(CancellationToken ct = default)

Constructors