DynamoDbDurableStateStoreOptionsType
Este conteúdo não está disponível em sua língua ainda.
Defined in: src/persistence/durable-state-stores/DynamoDbDurableStateStoreOptions.ts:8
Extends
Section titled “Extends”DynamoDbOptionsBaseType
Properties
Section titled “Properties”autoCreateTables?
Section titled “autoCreateTables?”
readonlyoptionalautoCreateTables?:boolean
Defined in: src/persistence/journals/DynamoDbOptionsBase.ts:8
Create the table on first use. Default: true.
Inherited from
Section titled “Inherited from”DynamoDbOptionsBaseType.autoCreateTables
billingMode?
Section titled “billingMode?”
readonlyoptionalbillingMode?:"PAY_PER_REQUEST"|"PROVISIONED"
Defined in: src/persistence/journals/DynamoDbOptionsBase.ts:13
PAY_PER_REQUEST (default) or PROVISIONED. On-demand needs no capacity
planning, which suits an event journal’s bursty write pattern.
Inherited from
Section titled “Inherited from”DynamoDbOptionsBaseType.billingMode
clientConfig?
Section titled “clientConfig?”
readonlyoptionalclientConfig?:Record<string,unknown>
Defined in: src/persistence/journals/DynamoDbClient.ts:115
Extra DynamoDBClient config, merged over region / endpoint:
{ credentials, maxAttempts, requestHandler, … }.
Inherited from
Section titled “Inherited from”DynamoDbOptionsBaseType.clientConfig
endpoint?
Section titled “endpoint?”
readonlyoptionalendpoint?:string
Defined in: src/persistence/journals/DynamoDbClient.ts:110
Override the service endpoint — how you point at dynamodb-local or
LocalStack (http://localhost:8000).
Inherited from
Section titled “Inherited from”DynamoDbOptionsBaseType.endpoint
operations?
Section titled “operations?”
readonlyoptionaloperations?:DynamoDbOperations
Defined in: src/persistence/journals/DynamoDbClient.ts:121
Pre-built operations façade — bypasses the lazy SDK import entirely. Use to
share ONE client across the journal, snapshot and durable-state stores (see
registerDynamoDbPlugins), or to inject a fake in tests.
Inherited from
Section titled “Inherited from”DynamoDbOptionsBaseType.operations
provisionedThroughput?
Section titled “provisionedThroughput?”
readonlyoptionalprovisionedThroughput?:object
Defined in: src/persistence/journals/DynamoDbOptionsBase.ts:15
Capacity units — only read when billingMode is PROVISIONED.
readCapacityUnits
Section titled “readCapacityUnits”
readonlyreadCapacityUnits:number
writeCapacityUnits
Section titled “writeCapacityUnits”
readonlywriteCapacityUnits:number
Inherited from
Section titled “Inherited from”DynamoDbOptionsBaseType.provisionedThroughput
region?
Section titled “region?”
readonlyoptionalregion?:string
Defined in: src/persistence/journals/DynamoDbClient.ts:105
AWS region, e.g. eu-central-1. Falls back to the SDK’s own resolution.
Inherited from
Section titled “Inherited from”DynamoDbOptionsBaseType.region
serializer?
Section titled “serializer?”
readonlyoptionalserializer?:Serializer<unknown>
Defined in: src/persistence/storage/StoreSerializerOptions.ts:23
Custom payload serializer. When set, the store writes rows in the
self-describing __serialized__ framing (see PayloadCodec) instead
of the default tagged JSON; rows of both formats can coexist in one
stream, but reading a framed row back requires a serializer with the
same id to be configured.
Inherited from
Section titled “Inherited from”DynamoDbOptionsBaseType.serializer
table?
Section titled “table?”
readonlyoptionaltable?:string
Defined in: src/persistence/durable-state-stores/DynamoDbDurableStateStoreOptions.ts:10
Durable-state table name. Default: actor_ts_durable_state.
tableReadyTimeoutMs?
Section titled “tableReadyTimeoutMs?”
readonlyoptionaltableReadyTimeoutMs?:number
Defined in: src/persistence/journals/DynamoDbOptionsBase.ts:20
How long to wait for a new table to become ACTIVE. Default: 30 000 ms.
Inherited from
Section titled “Inherited from”DynamoDbOptionsBaseType.tableReadyTimeoutMs
