TableLocalSecondaryIndexArgs

data class TableLocalSecondaryIndexArgs(val indexName: Output<String>, val keySchema: Output<List<TableKeySchemaArgs>>, val projection: Output<TableProjectionArgs>) : ConvertibleToJava<TableLocalSecondaryIndexArgs>

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: Output<String>, keySchema: Output<List<TableKeySchemaArgs>>, projection: Output<TableProjectionArgs>)

Properties

Link copied to clipboard
val indexName: Output<String>

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.

Functions

Link copied to clipboard
open override fun toJava(): TableLocalSecondaryIndexArgs