Skip to content
Docs Try Aspire

DynamoDBResourceExtensions Methods

Class Methods 4 members
Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.
AddDynamoDBTable(IResourceBuilder<IStackResource>, string, ITableProps) Section titled AddDynamoDBTable(IResourceBuilder<IStackResource>, string, ITableProps) extension IResourceBuilder<IConstructResource<Table>>
public static class DynamoDBResourceExtensions
{
public static IResourceBuilder<IConstructResource<Table>> AddDynamoDBTable(
this IResourceBuilder<IStackResource> builder,
string name,
ITableProps props)
{
// ...
}
}
builder IResourceBuilder<IStackResource>
name string
props ITableProps
AddGlobalSecondaryIndex(IResourceBuilder<IConstructResource<Table>>, IGlobalSecondaryIndexProps) Section titled AddGlobalSecondaryIndex(IResourceBuilder<IConstructResource<Table>>, IGlobalSecondaryIndexProps) extension IResourceBuilder<IConstructResource<Table>>
public static class DynamoDBResourceExtensions
{
public static IResourceBuilder<IConstructResource<Table>> AddGlobalSecondaryIndex(
this IResourceBuilder<IConstructResource<Table>> builder,
IGlobalSecondaryIndexProps props)
{
// ...
}
}
builder IResourceBuilder<IConstructResource<Table>>
props IGlobalSecondaryIndexProps
AddLocalSecondaryIndex(IResourceBuilder<IConstructResource<Table>>, ILocalSecondaryIndexProps) Section titled AddLocalSecondaryIndex(IResourceBuilder<IConstructResource<Table>>, ILocalSecondaryIndexProps) extension IResourceBuilder<IConstructResource<Table>>
public static class DynamoDBResourceExtensions
{
public static IResourceBuilder<IConstructResource<Table>> AddLocalSecondaryIndex(
this IResourceBuilder<IConstructResource<Table>> builder,
ILocalSecondaryIndexProps props)
{
// ...
}
}
builder IResourceBuilder<IConstructResource<Table>>
props ILocalSecondaryIndexProps
WithReference(IResourceBuilder<TDestination>, IResourceBuilder<IConstructResource<Table>>, string?) Section titled WithReference(IResourceBuilder<TDestination>, IResourceBuilder<IConstructResource<Table>>, string?) extension IResourceBuilder<TDestination>
public static class DynamoDBResourceExtensions
{
public static IResourceBuilder<TDestination> WithReference<TDestination>(
this IResourceBuilder<TDestination> builder,
IResourceBuilder<IConstructResource<Table>> table,
string? configSection = null)
{
// ...
}
}
builder IResourceBuilder<TDestination>
table IResourceBuilder<IConstructResource<Table>>
configSection string? optional