ClusterSubnetGroup
Source:
src/AWS/Redshift/ClusterSubnetGroup.ts
An Amazon Redshift cluster subnet group — the set of VPC subnets a provisioned Redshift cluster’s nodes are placed into.
Subnet groups are free and provision instantly. A Cluster
references one by name via clusterSubnetGroupName.
Creating a Cluster Subnet Group
Section titled “Creating a Cluster Subnet Group”Subnet Group Spanning Two Subnets
const subnetGroup = yield* Redshift.ClusterSubnetGroup("WarehouseSubnets", { description: "Subnets for the analytics warehouse", subnetIds: [subnetA.subnetId, subnetB.subnetId],});Tagged Subnet Group
const subnetGroup = yield* Redshift.ClusterSubnetGroup("WarehouseSubnets", { subnetIds: [subnetA.subnetId, subnetB.subnetId], tags: { team: "analytics" },});