DynamoDBResourceExtensions.AddDynamoDBTable Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.