Skip to content

Commit

Permalink
add vpcArn to IVpc
Browse files Browse the repository at this point in the history
  • Loading branch information
njlynch committed Oct 25, 2021
1 parent 116f6a7 commit 936997c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/@aws-cdk/aws-ec2/lib/vpc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,12 @@ export interface IVpc extends IResource {
*/
readonly vpcId: string;

/**
* ARN for this VPC
* @attribute
*/
readonly vpcArn: string;

/**
* CIDR range for this VPC
*
Expand Down Expand Up @@ -2173,4 +2179,4 @@ const DUMMY_VPC_PROPS: cxapi.VpcContextResponse = {
},
],
vpcId: 'vpc-12345',
};
};

0 comments on commit 936997c

Please sign in to comment.