Dynamo Db
Description
Important Concepts
Configuration in DI (where to add)
// Infrastructure (example)
services.AddFlexDynamoDocumentStore<OrderDocument>(configuration);appsettings.json
{
"FlexBase": {
"DataStores": {
"Document": {
"DynamoDb": {
"Region": "us-east-1",
"AccessKeyId": "<from-secrets>",
"SecretAccessKey": "<from-secrets>",
"TableName": "Orders",
"PartitionKeyName": "id",
"UseLocalStack": false,
"ServiceUrl": null
}
}
}
}
}Examples (from the generated templates)
Query example (Get-by-id)
Provider-specific considerations
Last updated