Interface IDynamoDbCdcBuilder
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
sectionPathstringThe 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
processorNamestringThe processor name.
Returns
- IDynamoDbCdcBuilder
The builder for fluent chaining.
StreamArn(string)
Sets the DynamoDB stream ARN for CDC processing.
IDynamoDbCdcBuilder StreamArn(string streamArn)
Parameters
streamArnstringThe 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
tableNamestringThe 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
clientFactoryFunc<IServiceProvider, IAmazonDynamoDB>A factory function that creates a DynamoDB client for state storage.
configureAction<ICdcStateStoreBuilder>An action to configure state store table settings.
Returns
- IDynamoDbCdcBuilder
The builder for fluent chaining.