Serverless Developer Guide
• Local secondary index — An index that has the same partition key as the base table, but a 
diﬀerent sort key. A local secondary index is "local" in the sense that every partition of a local 
secondary index is scoped to a base table partition that has the same partition key value.
In DynamoDB, you perform Query and Scan operations directly on the index, in the same way that 
you would on a table.
Data types
DynamoDB supports many diﬀerent data types for attributes within a table. They can be 
categorized as follows:
• Scalar Types – A scalar type can represent exactly one value. The scalar types are number, string, 
binary, Boolean, and null.
• Document Types – A document type can represent a complex structure with nested attributes, 
such as you would ﬁnd in a JSON document. The document types are list and map.
• Set Types – A set type can represent multiple scalar values. The set types are string set, number 
set, and binary set.
Related resource:
• Supported data types and naming rules in Amazon DynamoDB
Operations on tables
Operations are divided into Control plane, Data plane, Streams, and Transactions:
• Control plane operations let you create and manage DynamoDB tables. They also let you work 
with indexes, streams, and other objects that are dependent on tables. Operations include 
CreateTable, DescribeTable, ListTables, UpdateTable, DeleteTable.
• Data plane operations let you perform create, read, update, and delete (also called CRUD) actions 
on data in a table. Some of the data plane operations also let you read data from a secondary 
index. Operations include: ExecuteStatement, BatchExecuteStatement, PutItem, BatchWriteItem 
(to create or delete data), Get Item, BatchGetItem, Query, Scan, UpdateItem, DeleteItem
• DynamoDB Streams operations let you enable or disable a stream on a table, and allow access 
to the data modiﬁcation records contained in a stream. Operations include: ListStreams, 
DescribeStreams, GetSharedIterator, GetRecords
Fundamentals 78