Type Alias ReadCapacityDedicatedParams

ReadCapacityDedicatedParams: {
    manual: { replicas: number; shards: number };
    mode?: "Dedicated";
    nodeType: DedicatedNodeType;
}

Dedicated read capacity configuration.

Type declaration

  • manual: { replicas: number; shards: number }

    The configuration for manual scaling.

    • replicas: number

      The number of replicas to use. Replicas duplicate the compute resources and data of an index, allowing higher query throughput and availability. Setting replicas to 0 disables the index but can be used to reduce costs while usage is paused.

    • shards: number

      The number of shards to use. Shards determine the storage capacity of an index, with each shard providing 250 GB of storage.

  • Optionalmode?: "Dedicated"

    The mode of the index.

  • nodeType: DedicatedNodeType

    The type of machines to use. Available options: b1, t1.