I would like to verify in my service /health check that I have a connection with my dynamodb. I am searching for something like select 1 in MySQL (its only ping the db and return 1) but for dynamodb.
/health
select 1
I saw this post but searching for a nonexisting item is an expensive action.
Any ideas on how to only ping my db?
I believe the select 1 equivalent in DDB is Scan with a Limit of 1 item. You can read more here.
Scan
Limit
1.4m articles
1.4m replys
5 comments
57.0k users