Skip to content

SubnetGroup

Source: src/AWS/MemoryDB/SubnetGroup.ts

A MemoryDB subnet group — the set of VPC subnets a MemoryDB cluster’s nodes are placed into.

Subnet groups are free and provision instantly. A cluster references one by name via subnetGroupName.

const subnetGroup = yield* SubnetGroup("CacheSubnets", {
description: "MemoryDB cluster subnets",
subnetIds: [subnetA.subnetId, subnetB.subnetId],
});