Class S3Endpoint
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
Implements
Properties
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
S3Endpoint(EndpointUri, S3Component, S3EndpointOptions)
Creates an S3 endpoint.