DynamoDBResourceExtensions.AddLocalSecondaryIndex 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 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.