package
0.0.0-20240311033727-62d34d757da5
Repository: https://github.com/jo-hoe/serverless-toolbox.git
Documentation: pkg.go.dev

# README

DynamoDB Development

To test the dynamo db implementation, you have to run a local instance of dynamo db.

You can download dynamodb here.

Run command

To test the database locally after download, open the command prompt and execute

java -Djava.library.path=./DynamoDBLocal_lib -jar DynamoDBLocal.jar -sharedDb

# Functions

GetConnection takes a configuration, creates a session and returns a connection the assoicated dynamodb.
NewDynamoDBRepo creates a DynamoDBRepo and checks if the table exists.
No description provided by the author
NewSSMParameterStoreRepo creates a new instance of the repository The repo can take structs and store them in serialized form.
No description provided by the author
NewStoreItemDynamoDBRepo creates a DynamoDBRepo and checks if the table exists.
NewStringSSMParameterStoreRepo creates a new instance of the repository The repo stores the string without conversion.

# Structs

DynamoDBRepo stores all entities dynamo db.
SSMParameterStoreRepo stores entries in AWS Parameter Store.