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.
Creating a Subnet Group
Section titled “Creating a Subnet Group”const subnetGroup = yield* SubnetGroup("CacheSubnets", { description: "MemoryDB cluster subnets", subnetIds: [subnetA.subnetId, subnetB.subnetId],});