DynamoDBResourceExtensions.AddGlobalSecondaryIndex 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 global secondary index to the table.
public static Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.AWS.CDK.IConstructResource<Amazon.CDK.AWS.DynamoDB.Table>> AddGlobalSecondaryIndex (this Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.AWS.CDK.IConstructResource<Amazon.CDK.AWS.DynamoDB.Table>> builder, Amazon.CDK.AWS.DynamoDB.IGlobalSecondaryIndexProps props);
static member AddGlobalSecondaryIndex : Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.AWS.CDK.IConstructResource<Amazon.CDK.AWS.DynamoDB.Table>> * Amazon.CDK.AWS.DynamoDB.IGlobalSecondaryIndexProps -> Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.AWS.CDK.IConstructResource<Amazon.CDK.AWS.DynamoDB.Table>>
<Extension()>
Public Function AddGlobalSecondaryIndex (builder As IResourceBuilder(Of IConstructResource(Of Table)), props As IGlobalSecondaryIndexProps) 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.IGlobalSecondaryIndexProps
The properties for the global secondary index.