![]() AwsCredentials class extends the AWS’ abstract AWSCredentials and is used in order to manage the credentials.ĭatabaseClient class that uses and exposes just a few methods of IAmazonDynamoDB is custom created. RegionEndpoint is used to instantiate AmazonDynamoDBConfig. The concrete AWS client implementation is AmazonDynamoDBClient and an object is instantiated in DynamoDbClientFactory class and used as a singleton. The NuGet package is called AWSSDK.DynamoDBv2. The DynamoDB client interface is called IAmazonDynamoDB and comes from AWS C# SDK. In order to work with DynamoDB, a client is needed. ![]() Its values are injected from the environment variables by. In the current examples, in SqsReader project, a configuration class called AppConfig is used. In the current post, I give practical code examples of how to work with DynamoDB. The code used for this series of blog posts is located in GitHub repository. ![]() This post is part of AWS examples in C# – working with SQS, DynamoDB, Lambda, ECS series. Post summary: Code examples with DynamoDB write and read operations.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |