TableGlobalSecondaryIndexArgs

data class TableGlobalSecondaryIndexArgs(val hashKey: Output<String>, val name: Output<String>, val nonKeyAttributes: Output<List<String>>? = null, val onDemandThroughput: Output<TableGlobalSecondaryIndexOnDemandThroughputArgs>? = null, val projectionType: Output<String>, val rangeKey: Output<String>? = null, val readCapacity: Output<Int>? = null, val writeCapacity: Output<Int>? = null) : ConvertibleToJava<TableGlobalSecondaryIndexArgs>

Constructors

Link copied to clipboard
constructor(hashKey: Output<String>, name: Output<String>, nonKeyAttributes: Output<List<String>>? = null, onDemandThroughput: Output<TableGlobalSecondaryIndexOnDemandThroughputArgs>? = null, projectionType: Output<String>, rangeKey: Output<String>? = null, readCapacity: Output<Int>? = null, writeCapacity: Output<Int>? = null)

Properties

Link copied to clipboard
val hashKey: Output<String>

Name of the hash key in the index; must be defined as an attribute in the resource.

Link copied to clipboard
val name: Output<String>

Name of the index.

Link copied to clipboard
val nonKeyAttributes: Output<List<String>>? = null

Only required with INCLUDE as a projection type; a list of attributes to project into the index. These do not need to be defined as attributes on the table.

Link copied to clipboard

Sets the maximum number of read and write units for the specified on-demand table. See below.

Link copied to clipboard
val projectionType: Output<String>

One of ALL, INCLUDE or KEYS_ONLY where ALL projects every attribute into the index, KEYS_ONLY projects into the index only the table and index hash_key and sort_key attributes , INCLUDE projects into the index all of the attributes that are defined in non_key_attributes in addition to the attributes that thatKEYS_ONLY project.

Link copied to clipboard
val rangeKey: Output<String>? = null

Name of the range key; must be defined

Link copied to clipboard
val readCapacity: Output<Int>? = null

Number of read units for this index. Must be set if billing_mode is set to PROVISIONED.

Link copied to clipboard
val writeCapacity: Output<Int>? = null

Number of write units for this index. Must be set if billing_mode is set to PROVISIONED.

Functions

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