Interface VpcSubnetGroup

All Superinterfaces:
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:54.747Z") @Stability(Stable) public interface VpcSubnetGroup extends
A group of subnets returned by the VPC provider.

The included subnets do NOT have to be symmetric!


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 VpcSubnetGroup vpcSubnetGroup = VpcSubnetGroup.builder()
                 // the properties below are optional
  • Method Details

    • getName

      @Stability(Stable) @NotNull String getName()
      The name of the subnet group, determined by looking at the tags of of the subnets that belong to it.
    • getSubnets

      @Stability(Stable) @NotNull List<VpcSubnet> getSubnets()
      The subnets that are part of this group.

      There is no condition that the subnets have to be symmetric in the group.

    • getType

      @Stability(Stable) @NotNull VpcSubnetGroupType getType()
      The type of the subnet group.
    • builder

      @Stability(Stable) static VpcSubnetGroup.Builder builder()
      a VpcSubnetGroup.Builder of VpcSubnetGroup