TableLocalSecondaryIndex

data class TableLocalSecondaryIndex(val indexName: String, val keySchema: List<TableKeySchema>, val projection: TableProjection)

Represents the properties of a local secondary index. A local secondary index can only be created when its parent table is created.

Constructors

Link copied to clipboard
constructor(indexName: String, keySchema: List<TableKeySchema>, projection: TableProjection)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The name of the local secondary index. The name must be unique among all other indexes on this table.

Link copied to clipboard

The complete key schema for the local secondary index, consisting of one or more pairs of attribute names and key types:

Link copied to clipboard

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