title: CDK: There are no 'Private' subnet groups in this VPC after private group is deployed
body: <p>I have deployed rivate subnets in default vpc (java):</p>
  <pre><code>var stack = new Stack(app, &quot;system-resource&quot;, StackProps.builder().env(env).build());
  final IVpc vpc = Vpc.fromLookup(stack, &quot;default-vpc&quot;, VpcLookupOptions.builder().isDefault(true).build());
  final AtomicInteger index = new AtomicInteger();
  var zones = stack.getAvailabilityZones();
  var subnets = zones.stream().map(z -&gt; {
    var subnet = new PrivateSubnet(stack, &quot;priavte-subnet-&quot; + index.getAndIncrement(), PrivateSubnetProps.builder()
        .vpcId(vpc.getVpcId())
        .cidrBlock(String.format(cidrTemplate, start.get()))
        .availabilityZone(z)
        .build());
    start.addAndGet(increment);
    return subnet;
  }).collect(Collectors.toList());
  </code></pre>
  <p>Then I tried to use SubnetSelection:</p>
  <pre><code>final IVpc vpc = Vpc.fromLookup(this, &quot;default-vpc&quot;, VpcLookupOptions.builder().isDefault(true).build());
  final SubnetSelection vpcSubnets = SubnetSelection.builder().subnetType(SubnetType.PRIVATE).build();
  </code></pre>
  <p>And got exception:</p>
  <pre><code>An exception occured while executing the Java class. There are no 'Private' subnet groups in this VPC. Available types: Public
  </code></pre>
  <p>[ERROR] Error: There are no 'Private' subnet groups in this VPC. Available types: Public</p>
  <p>How it determine a VPC to select from?</p>
  <p>Why all my PrivateSubnets which had created before are &quot;marketed&quot; as public and can no be selected?</p>