Skip to content

Commit 90d7f02

Browse files
authored
docs(ec2): Clarify vpcName documentation for VPC (#18932)
Explain that VPC doesn't support providing a physical name Related: #18912 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 8c6777c commit 90d7f02

File tree

1 file changed

+2
-0
lines changed
  • packages/@aws-cdk/aws-ec2/lib

1 file changed

+2
-0
lines changed

packages/@aws-cdk/aws-ec2/lib/vpc.ts

+2
Original file line numberDiff line numberDiff line change
@@ -969,6 +969,8 @@ export interface VpcProps {
969969
/**
970970
* The VPC name.
971971
*
972+
* Since the VPC resource doesn't support providing a physical name, the value provided here will be recorded in the `Name` tag
973+
*
972974
* @default this.node.path
973975
*/
974976
readonly vpcName?: string;

0 commit comments

Comments
 (0)