共用方式為


DynamoDBResourceExtensions.AddLocalSecondaryIndex Method

Definition

Adds a local secondary index to the table.

public static Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.AWS.CDK.IConstructResource<Amazon.CDK.AWS.DynamoDB.Table>> AddLocalSecondaryIndex (this Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.AWS.CDK.IConstructResource<Amazon.CDK.AWS.DynamoDB.Table>> builder, Amazon.CDK.AWS.DynamoDB.ILocalSecondaryIndexProps props);
static member AddLocalSecondaryIndex : Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.AWS.CDK.IConstructResource<Amazon.CDK.AWS.DynamoDB.Table>> * Amazon.CDK.AWS.DynamoDB.ILocalSecondaryIndexProps -> Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.AWS.CDK.IConstructResource<Amazon.CDK.AWS.DynamoDB.Table>>
<Extension()>
Public Function AddLocalSecondaryIndex (builder As IResourceBuilder(Of IConstructResource(Of Table)), props As ILocalSecondaryIndexProps) As IResourceBuilder(Of IConstructResource(Of Table))

Parameters

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

The builder for the table resource.

props
Amazon.CDK.AWS.DynamoDB.ILocalSecondaryIndexProps

The properties for the local secondary index.

Returns

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

Applies to