Skip to content
v2.274.0

VPCReference Struct ​

A reference to a VPC resource.

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 ​

vpcIdstringvpc_idstrvpcIdStringVpcIdstringVpcId*stringrequired#
The VpcId of the VPC resource.