FuseDynamoDBClientFactory
@appfire/fuse-datastore • Docs
@appfire/fuse-datastore / FuseDynamoDBClientFactory
Class: FuseDynamoDBClientFactory\<T>
Type Parameters
• T = Instance
| DynamoDB
Constructors
new FuseDynamoDBClientFactory()
new FuseDynamoDBClientFactory\<
T
>(config
):FuseDynamoDBClientFactory
\<T
>
Parameters
• config: DynamoDBFactoryConfig
Returns
Defined in
Properties
region
protected
region:string
Defined in
roleArn
protected
roleArn:string
Defined in
tableArn
protected
tableArn:string
Defined in
tenantCache
protected
tenantCache:object
Index Signature
[key
: string
]: T
Defined in
tenantMemoryCache
protected
tenantMemoryCache:undefined
|MemoryCache
Defined in
type
protected
type:string
Defined in
Methods
createTenantClient()
createTenantClient(
tenant
):Promise
\<T
>
Parameters
• tenant: string
Returns
Promise
\<T
>
Defined in
getClient()
getClient(
tenantId
,noCache
?):Promise
\<T
>
Parameters
• tenantId: string
• noCache?: boolean
Returns
Promise
\<T
>