AWS SDK Version 4 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Represents a new global secondary index to be added to an existing table.

Inheritance Hierarchy

System.Object
  Amazon.DynamoDBv2.Model.CreateGlobalSecondaryIndexAction

Namespace: Amazon.DynamoDBv2.Model
Assembly: AWSSDK.DynamoDBv2.dll
Version: 3.x.y.z

Syntax

C#
public class CreateGlobalSecondaryIndexAction

The CreateGlobalSecondaryIndexAction type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property IndexName System.String

Gets and sets the property IndexName.

The name of the global secondary index to be created.

Public Property KeySchema System.Collections.Generic.List<Amazon.DynamoDBv2.Model.KeySchemaElement>

Gets and sets the property KeySchema.

The key schema for the global secondary index.

Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.

Public Property OnDemandThroughput Amazon.DynamoDBv2.Model.OnDemandThroughput

Gets and sets the property OnDemandThroughput.

The maximum number of read and write units for the global secondary index being created. If you use this parameter, you must specify MaxReadRequestUnits, MaxWriteRequestUnits, or both. You must use either OnDemand Throughput or ProvisionedThroughput based on your table's capacity mode.

Public Property Projection Amazon.DynamoDBv2.Model.Projection

Gets and sets the property Projection.

Represents attributes that are copied (projected) from the table into an index. These are in addition to the primary key attributes and index key attributes, which are automatically projected.

Public Property ProvisionedThroughput Amazon.DynamoDBv2.Model.ProvisionedThroughput

Gets and sets the property ProvisionedThroughput.

Represents the provisioned throughput settings for the specified global secondary index.

For current minimum and maximum provisioned throughput values, see Service, Account, and Table Quotas in the Amazon DynamoDB Developer Guide.

Public Property WarmThroughput Amazon.DynamoDBv2.Model.WarmThroughput

Gets and sets the property WarmThroughput.

Represents the warm throughput value (in read units per second and write units per second) when creating a secondary index.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.7.2 and newer