Interface VpcSubnet

All Superinterfaces:
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:54.746Z") @Stability(Stable) public interface VpcSubnet extends
A subnet representation that the VPC provider uses.


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

    • getAvailabilityZone

      @Stability(Stable) @NotNull String getAvailabilityZone()
      The code of the availability zone this subnet is in (for example, 'us-west-2a').
    • getRouteTableId

      @Stability(Stable) @NotNull String getRouteTableId()
      The identifier of the route table for this subnet.
    • getSubnetId

      @Stability(Stable) @NotNull String getSubnetId()
      The identifier of the subnet.
    • getCidr

      @Stability(Stable) @Nullable default String getCidr()
      CIDR range of the subnet.

      Default: - CIDR information not available

    • builder

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