Skip to content

IncreaseReplicationFactor

Source: src/AWS/DAX/IncreaseReplicationFactor.ts

Runtime binding for the IncreaseReplicationFactor operation (IAM action dax:IncreaseReplicationFactor), scoped to one Cluster.

Adds read-replica nodes to the bound DAX cluster — the building block of scale-out automation (e.g. a Lambda reacting to a CloudWatch alarm on cluster CPU or cache-miss rate). Provide the implementation with Effect.provide(AWS.DAX.IncreaseReplicationFactorHttp).

const increaseReplicationFactor =
yield* DAX.IncreaseReplicationFactor(cluster);
const result = yield* increaseReplicationFactor({
NewReplicationFactor: 3,
});
// result.Cluster?.TotalNodes → 3 (new nodes provision asynchronously)