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.
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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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 | Versions 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.
-
net8.0
- AWSSDK.DynamoDBv2 (>= 3.7.303.18)
- AWSSDK.Extensions.NETCore.Setup (>= 3.7.301)
- Microsoft.Extensions.Configuration.Abstractions (>= 8.0.0)
- Microsoft.Extensions.Configuration.Binder (>= 8.0.1)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 8.0.1)
- Microsoft.Extensions.Hosting.Abstractions (>= 8.0.0)
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 | 51 | 9/10/2024 |
1.0.0-beta3 | 55 | 6/13/2024 |
1.0.0-beta2 | 249 | 6/12/2024 |
1.0.0-beta1 | 53 | 6/12/2024 |
1.0.0-beta | 52 | 6/11/2024 |