You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The DynamoDB Provider does not have any high-level functions, as it needs to know the name of the DynamoDB table containing the parameters.
242
+
243
+
**DynamoDB table structure for single parameters**
244
+
245
+
For single parameters, you must use `id` as the [partition key](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.CoreComponents.html#HowItWorks.CoreComponents.PrimaryKey) for that table.
246
+
247
+
???+ example
248
+
249
+
DynamoDB table with `id` partition key and `value` as attribute
250
+
251
+
| id | value |
252
+
| ------------ | -------- |
253
+
| my-parameter | my-value |
254
+
255
+
With this table, `dynamodbProvider.get('my-param')` will return `my-value`.
const value =dynamodbProvider.get('my-parameter');
266
+
```
267
+
268
+
=== "DynamoDB Local example"
269
+
You can initialize the DynamoDB provider pointing to [DynamoDB Local](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DynamoDBLocal.html) using the `endpoint` field in the `clientConfig` parameter:
0 commit comments