# VPCReference

A reference to a VPC resource.

- Source: Generated code
- Type last changed: v2.224.0 · 13 Nov 2025

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as interfaces_ec2 } from 'aws-cdk-lib/interfaces';
const vPCReference: interfaces_ec2.VPCReference = {
  vpcId: 'vpcId',
};
```

## Properties

- `vpcId`: string (required) — The VpcId of the VPC resource.
