Udostępnij za pośrednictwem


DynamoDBResourceExtensions.AddDynamoDBTable Method

Definition

Adds an Amazon DynamoDB table.

public static Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.AWS.CDK.IConstructResource<Amazon.CDK.AWS.DynamoDB.Table>> AddDynamoDBTable (this Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.AWS.CDK.IStackResource> builder, string name, Amazon.CDK.AWS.DynamoDB.ITableProps props);
static member AddDynamoDBTable : Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.AWS.CDK.IStackResource> * string * Amazon.CDK.AWS.DynamoDB.ITableProps -> Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.AWS.CDK.IConstructResource<Amazon.CDK.AWS.DynamoDB.Table>>
<Extension()>
Public Function AddDynamoDBTable (builder As IResourceBuilder(Of IStackResource), name As String, props As ITableProps) As IResourceBuilder(Of IConstructResource(Of Table))

Parameters

builder
IResourceBuilder<IStackResource>

The builder for the AWS CDK stack.

name
String

The name of the resource.

props
Amazon.CDK.AWS.DynamoDB.ITableProps

The properties of the table.

Returns

IResourceBuilder<IConstructResource<Amazon.CDK.AWS.DynamoDB.Table>>

Applies to