KeySchemaArgs

data class KeySchemaArgs(val attributeName: Output<String>? = null, val keyType: Output<String>? = null) : ConvertibleToJava<KeySchemaArgs>

Definition of KeySchema

Constructors

Link copied to clipboard
constructor(attributeName: Output<String>? = null, keyType: Output<String>? = null)

Properties

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

The name of a key attribute.

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

The role that this key attribute will assume: + `HASH` - partition key + `RANGE` - sort key The partition key of an item is also known as its hash attribute. The term 'hash attribute' derives from DynamoDB's usage of an internal hash function to evenly distribute data items across partitions, based on their partition key values. The sort key of an item is also known as its range attribute. The term 'range attribute' derives from the way DynamoDB stores items with the same partition key physically close together, in sorted order by the sort key value.

Functions

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