in network/generic_network.py [0:0]
def _get_subnets(self, subnet_type: _ec2.SubnetType, group_name: str = "") \
-> _ec2.SelectedSubnets:
"""private helper method of selecting subnet """
if group_name == "":
return self._base_vpc.select_subnets(
subnet_type=subnet_type
)
return self._base_vpc.select_subnets(
subnet_group_name=group_name
)