DynamoDbStoreConfig
이 콘텐츠는 아직 번역되지 않았습니다.
Defined in: src/persistence/journals/DynamoDbStore.ts:18
Wiring every DynamoDB store needs, independent of which contract it implements.
Extends
Section titled “Extends”Omit<LazyStoreConfig<DynamoDbOperations>,"ownsResource"|"openResource">
Properties
Section titled “Properties”autoCreateTables?
Section titled “autoCreateTables?”
readonlyoptionalautoCreateTables?:boolean
Defined in: src/persistence/journals/DynamoDbStore.ts:20
Create the table on first use. Default true.
billingMode?
Section titled “billingMode?”
readonlyoptionalbillingMode?:"PAY_PER_REQUEST"|"PROVISIONED"
Defined in: src/persistence/journals/DynamoDbStore.ts:26
On-demand (PAY_PER_REQUEST) or provisioned throughput. Default on-demand:
an event journal’s traffic is bursty, and on-demand needs no capacity
planning to get started.
ownsClient
Section titled “ownsClient”
readonlyownsClient:boolean
Defined in: src/persistence/journals/DynamoDbStore.ts:36
Whether this store opened the client itself. An injected façade — shared
across the journal, snapshot and durable-state stores by
registerDynamoDbPlugins, or a fake in tests — is owned by the caller.
provisionedThroughput?
Section titled “provisionedThroughput?”
readonlyoptionalprovisionedThroughput?:object
Defined in: src/persistence/journals/DynamoDbStore.ts:28
Read/write capacity units, used only when billingMode is PROVISIONED.
readCapacityUnits
Section titled “readCapacityUnits”
readonlyreadCapacityUnits:number
writeCapacityUnits
Section titled “writeCapacityUnits”
readonlywriteCapacityUnits:number
storeName
Section titled “storeName”
readonlystoreName:string
Defined in: src/persistence/LazyStore.ts:11
Concrete store name ('PostgresJournal', 'MongoJournal'), used to prefix
every error message. Errors name the store the caller actually constructed
rather than the shared base, which is what makes a stack-free log line
useful.
Inherited from
Section titled “Inherited from”Omit.storeName
tableReadyTimeoutMs?
Section titled “tableReadyTimeoutMs?”
readonlyoptionaltableReadyTimeoutMs?:number
Defined in: src/persistence/journals/DynamoDbStore.ts:30
How long to wait for a freshly created table to become ACTIVE. Default 30 s.
Methods
Section titled “Methods”openClient()
Section titled “openClient()”openClient():
Promise<DynamoDbOperations>
Defined in: src/persistence/journals/DynamoDbStore.ts:38
Open the operations façade. Called once, lazily, on first use.
Returns
Section titled “Returns”Promise<DynamoDbOperations>
