@resistdesign/voltra
    Preparing search index...

    Type Alias AddDatabaseGlobalSecondaryIndexConfig

    Configuration for one DynamoDB global secondary index.

    type AddDatabaseGlobalSecondaryIndexConfig = {
        indexName: string;
        keys: Record<string, "HASH" | "RANGE">;
        projection?: "ALL" | "KEYS_ONLY" | { nonKeyAttributes: string[] };
    }
    Index

    Properties

    indexName: string

    CloudFormation/DynamoDB index name.

    keys: Record<string, "HASH" | "RANGE">

    HASH/RANGE key schema for the secondary index.

    projection?: "ALL" | "KEYS_ONLY" | { nonKeyAttributes: string[] }

    Projection mode. Object form emits an INCLUDE projection. Defaults to ALL.