AwsTool.Sdk.Dynamo 1.0.0-beta3

This is a prerelease version of AwsTool.Sdk.Dynamo.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package AwsTool.Sdk.Dynamo --version 1.0.0-beta3                
NuGet\Install-Package AwsTool.Sdk.Dynamo -Version 1.0.0-beta3                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="AwsTool.Sdk.Dynamo" Version="1.0.0-beta3" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AwsTool.Sdk.Dynamo --version 1.0.0-beta3                
#r "nuget: AwsTool.Sdk.Dynamo, 1.0.0-beta3"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install AwsTool.Sdk.Dynamo as a Cake Addin
#addin nuget:?package=AwsTool.Sdk.Dynamo&version=1.0.0-beta3&prerelease

// Install AwsTool.Sdk.Dynamo as a Cake Tool
#tool nuget:?package=AwsTool.Sdk.Dynamo&version=1.0.0-beta3&prerelease                

aws-sdk-toolkit-dynamo

Responsible for facilitating integration with the AWS Dynamo service.

To use the library you will need to initialize it by following the steps below:

  • In your application initialization file, the Dynamo access configuration must be referenced:
builder.Services
    .AddAwsDefaultSettings(builder.Configuration, builder.Environment)
    .AddDynamoDb(builder.Configuration, builder.Environment)
  • To configure the tables, you must complement the previous step with the other instructions:
builder.Services
    .AddAwsDefaultSettings(builder.Configuration, builder.Environment)
    .AddDynamoDb(builder.Configuration, builder.Environment)
    .RegisterTables(new[]
    {
        new TablesMapper
        {
            TableName = "TABLE_NAME_DEFINED",
            Schema = new []
            {
                new SchemaTable
                {
                    Name = "HASH_KEY_DEFINED",
                    KeyType = KeyType.Hash,
                    PropertyType = PropertyType.String
                },
                new SchemaTable
                {
                    Name = "RANGE_KEY_DEFINED,
                    KeyType = KeyType.Range,
                    PropertyType = PropertyType.String
                }
            }
        }
    });

If more than one table is needed, simply add several TablesMapper to the structure above.

  • If, when starting the application, you want to create tables/indexes, simply add the instruction to the code:
await app.Services.CreateTables(CancellationToken.None);
  • The SDK contains a facilitator to operate locally, or even run the application locally and using the dynamo resource on AWS. To do this, simply add the configuration below in the appsettings.[environment].json file.
"Aws": {
    "Dynamo": {
        "AccessKey": "local",
        "SecretKey": "local",
        "Token": "",
        "ServiceURL": "http://dynamodb-local:8000",
        "Region": "UsEast1"
    }
}
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0-beta4 56 9/10/2024
1.0.0-beta3 60 6/13/2024
1.0.0-beta2 254 6/12/2024
1.0.0-beta1 58 6/12/2024
1.0.0-beta 63 6/11/2024