Table of Contents

Interface IDynamoDbCdcBuilder

Namespace
Excalibur.Cdc.DynamoDb
Assembly
Excalibur.Cdc.DynamoDb.dll

Fluent builder interface for configuring DynamoDB CDC settings.

public interface IDynamoDbCdcBuilder
Extension Methods

Remarks

This builder configures DynamoDB-specific CDC options such as table name, stream ARN, processor name, and state store connections. All methods return this for method chaining.

DynamoDB does not use connection strings; authentication is handled via AWS SDK credential resolution (environment variables, IAM roles, profiles).

Methods

BindConfiguration(string)

Binds DynamoDB CDC source options from an IConfiguration section.

IDynamoDbCdcBuilder BindConfiguration(string sectionPath)

Parameters

sectionPath string

The configuration section path (e.g., "Cdc:DynamoDb").

Returns

IDynamoDbCdcBuilder

The builder for fluent chaining.

ProcessorName(string)

Sets the unique processor name for this CDC instance.

IDynamoDbCdcBuilder ProcessorName(string processorName)

Parameters

processorName string

The processor name.

Returns

IDynamoDbCdcBuilder

The builder for fluent chaining.

StreamArn(string)

Sets the DynamoDB stream ARN for CDC processing.

IDynamoDbCdcBuilder StreamArn(string streamArn)

Parameters

streamArn string

The stream ARN.

Returns

IDynamoDbCdcBuilder

The builder for fluent chaining.

Remarks

If not specified, the stream ARN is auto-discovered from the table.

TableName(string)

Sets the DynamoDB table name for CDC processing.

IDynamoDbCdcBuilder TableName(string tableName)

Parameters

tableName string

The DynamoDB table name.

Returns

IDynamoDbCdcBuilder

The builder for fluent chaining.

WithStateStore(Func<IServiceProvider, IAmazonDynamoDB>, Action<ICdcStateStoreBuilder>)

Configures a separate DynamoDB client factory for CDC state persistence with state store configuration.

IDynamoDbCdcBuilder WithStateStore(Func<IServiceProvider, IAmazonDynamoDB> clientFactory, Action<ICdcStateStoreBuilder> configure)

Parameters

clientFactory Func<IServiceProvider, IAmazonDynamoDB>

A factory function that creates a DynamoDB client for state storage.

configure Action<ICdcStateStoreBuilder>

An action to configure state store table settings.

Returns

IDynamoDbCdcBuilder

The builder for fluent chaining.