KeySchema Struct
A description of a key schema of an LSI, GSI or Table.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_dynamodb as dynamodb } from 'aws-cdk-lib';
const keySchema: dynamodb.KeySchema = {
partitionKeys: [{
name: 'name',
type: dynamodb.AttributeType.BINARY,
}],
sortKeys: [{
name: 'name',
type: dynamodb.AttributeType.BINARY,
}],
};