TableLocalSecondaryIndex class

Constructors

TableLocalSecondaryIndex({required Input<String> name, Input<List<String>?>? nonKeyAttributes, required Input<String> projectionType, required Input<String> rangeKey})
Creates a new TableLocalSecondaryIndex. name Name of the index nonKeyAttributes 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. projectionType 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 hashKey and sortKey attributes , INCLUDE projects into the index all of the attributes that are defined in nonKeyAttributes in addition to the attributes that thatKEYS_ONLY project. rangeKey Name of the range key.
const
TableLocalSecondaryIndex.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
name → Input<String>
Name of the index
final
nonKeyAttributes → Input<List<String>?>?
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.
final
projectionType → Input<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 hashKey and sortKey attributes , INCLUDE projects into the index all of the attributes that are defined in nonKeyAttributes in addition to the attributes that thatKEYS_ONLY project.
final
rangeKey → Input<String>
Name of the range key.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited