Questions tagged [amazon-dynamodb]
Amazon DynamoDB is a proprietary closed-source cloudnative key-value and document database optimized for horizontal scaling. It's a fully managed, multiregion, multimaster database with built-in security, backup and restore, and in-memory caching for internet-scale applications. DynamoDB is hosted on AWS, but also has a local deployment option just for development and functional testing. Used on amazon.com.
amazon-dynamodb
14,202
questions
0
votes
0
answers
6
views
Unable to create a GSI on dynamodb from aws cli on local
I am trying to add a GSI to an existing table on dynamo DB on local.
I downloaded the last version(2.5.1) and run ti with:
`java -Djava.library.path=./DynamoDBLocal_lib -jar DynamoDBLocal.jar -...
-1
votes
0
answers
26
views
DynamoDB : No Repository Bean found, with Spring boot 3, Java 21
I am trying to integrate with DynamoDB using Spring boot 3.x. I am using Java 21 and have following configuration in gradle for DynamoDb:
dependencies {
implementation 'org.springframework.boot:spring-...
0
votes
1
answer
26
views
Seeking PHP Solution for Querying DynamoDB Accelerator (DAX) Without AWS SDK [closed]
I hope you are all doing well.
I am currently working on a project where we extensively use DynamoDB and are experiencing performance lags. We attempted to leverage DynamoDB Accelerator (DAX) to ...
0
votes
0
answers
13
views
Dynamoose - Unable to retrieve DynamoDB `String set` vales
I'm having an issue with DynamoDB.
I have a table with some items that have an owners property which is of type String Set.
it would look something like this:
{
"id": "123456",
...
-2
votes
1
answer
31
views
Ansible to update the AWS dynamodb table
Team,
Is there a way to Create item on the aws dynamodb table using Ansible?
We have a dynamodb table, which has Attributes called hostID, we would like to update the value using the ansible task (the ...
0
votes
1
answer
24
views
How do I filter a query of an array of strings with a limit in DynamoDB pagination?
When combining Limit and Filter Expression in DynamoDB, the database first retrieves the first N items specified by Limit and then applies the Filter Expression to those items. It's important to note ...
0
votes
0
answers
21
views
How to maintain consistency in a decoupled application? [closed]
I have a decoupled application where container A adds tasks to a queue. Queue is read by multiple copies (workers) of container B. The tasks are grouped by a group ID. Once a task is complete the ...
-1
votes
0
answers
27
views
I am receiving "Internal server error" message when consuming apigateway API via postman. Apigateway dynamodb integration
I have the following specification in serverless framework:
ApiGateway:
Type: AWS::ApiGateway::RestApi
Properties:
Name: ${self:custom.stage}-${self:service}-apigateway
EventResource:
Type: ...
0
votes
1
answer
27
views
Is there we can ensure uniqueness in a non-key attribute for a given partition key in DynamoDB
Is there we can ensure uniqueness in a non-key attribute for a given partition key in DynamoDB.
For eg: We have person_id as the partition key and category#UUID as the sort key and we another ...
0
votes
1
answer
16
views
error while performing dynamo.query(params); from lambda function
When performing body = await dynamo.query(params); from a lambda function, i am getting response as :
"statusCode": "400",
"body": "User: arn:aws:sts::891377999999:...
0
votes
0
answers
15
views
Cannot find package 'aws-sdk' imported from /var/task/index.mjs
i am getting this error
even after having the correct configuration
using nodejs 18
{
"errorType": "ReferenceError",
"errorMessage": "require is not defined ...
-1
votes
1
answer
18
views
How to paginate filtered results with DynamoDB scan?
I have a DynamoDB table with a PK id and attributes status (boolean) and type (string with two values). I need to implement pagination for results filtering on status and type. My current approach ...
0
votes
1
answer
14
views
Renaming AWS GraphQL Schema Types
I have an issue where I created a type called Fixtures but then I realised that it is good practise to always keep it singular with the names as the queries, mutationa and subscriptions that are ...
0
votes
1
answer
23
views
DynamoDB Transaction Optimistic Locking
I have a serverless application using APIGateway, Lambda, and DynamoDB with NodeJS and typescript. I have a handful of situations were multiple clients could attempt to modify certain resources ...
0
votes
1
answer
22
views
How to make dynamodb streams trigger at PK level
I am planning to create dynamoDB table with 3 columns
Req ID
ISIN
MKEY
Date
A1
111
U111
03/07/24
A1
222
U222
03/07/24
A2
333
U333
03/07/24
Assuming I loaded these records today at same time. I ...