aws-cdk-examples icon indicating copy to clipboard operation
aws-cdk-examples copied to clipboard

Add CDK Example: How to do a lookup by subnet group name

Open takashi-uchida opened this issue 1 year ago • 2 comments

Describe the feature

The subnet group name can be used to refer to the intended subnet quickly.

Use Case

Many samples reference subnets created in the VPC stack, such as ec2.SubnetSelection is handled by a subnet type call, list, or import function. However, in actual requirements, many requirements cannot be divided by subnet type, such as subnets for network firewalls, transit gateways, and so on.

Proposed Solution

subnet_group_name_tag and cdk.json

Other Information

No response

Acknowledgements

  • [X] I may be able to implement this feature request
  • [ ] This feature might incur a breaking change

Language

Python

takashi-uchida avatar Apr 10 '23 10:04 takashi-uchida