# VpcSubnetGroupType

The type of subnet group.

Same as SubnetType in the aws-cdk-lib/aws-ec2 package,
but we can't use that because of cyclical dependencies.

- Source: [`cx-api/lib/legacy-moved.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/cx-api/lib/legacy-moved.ts#L845)
- Type last changed: v2.238.0 · 9 Feb 2026

## Members

| Member | Description |
| --- | --- |
| `PUBLIC` | Public subnet group type. |
| `PRIVATE` | Private subnet group type. |
| `ISOLATED` | Isolated subnet group type. |

## Referenced by

- [`VpcSubnetGroup`](/v2/docs/aws-cdk-lib.cx_api.VpcSubnetGroup).type
