(aws-ec2): L1 VPC to L2 VPC transformation
- Dominant language
- TypeScript
- Stars
- 12.9k
- Forks
- 4.6k
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 74
Description
Static method on `Vpc` akin to `.fromLookup` with signature `.fromCfnVpc(cfnvpc: CfnVpc): IVpc` that performs a hopefully simple transform on a `CfnVpc` to return a `IVpc`.
### Use Case
More convenient and supported method for mixing `CfnInclude`'d CloudFormation templates with CDK constructs.
### Proposed Solution
Implement the described static method.
### Other
* [x] :wave: I may be able to implement this feature request
* [ ] :warning: This feature might incur a breaking change
---
This is a :rocket: Feature Request
Contributor guide
Research direction
Start with the existing Vpc.fromLookup entry point and the CfnVpc and IVpc definitions in the aws-ec2 module. Trace how CfnInclude exposes a CfnVpc, then assess the requested Vpc.fromCfnVpc(cfnvpc: CfnVpc): IVpc transformation. Done means an included CfnVpc can be used as an IVpc when mixing CloudFormation templates with CDK constructs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, typescript
- Domain
- cloud, infrastructure
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100