Skip to content

Commit

Permalink
docs(ec2): Clarify vpcName documentation for VPC (#18932)
Browse files Browse the repository at this point in the history
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*
  • Loading branch information
gshpychka committed Feb 14, 2022
1 parent 8c6777c commit 90d7f02
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/@aws-cdk/aws-ec2/lib/vpc.ts
Expand Up @@ -969,6 +969,8 @@ export interface VpcProps {
/**
* The VPC name.
*
* Since the VPC resource doesn't support providing a physical name, the value provided here will be recorded in the `Name` tag
*
* @default this.node.path
*/
readonly vpcName?: string;
Expand Down

0 comments on commit 90d7f02

Please sign in to comment.