Interface ScalingConfigManual

The config to use for manual read capacity scaling.

ScalingConfigManual

interface ScalingConfigManual {
    replicas?: number;
    shards?: number;
}

Properties

Properties

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.

ScalingConfigManual

shards?: number

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

ScalingConfigManual