Interface AllocatedSubnet

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
AllocatedSubnet.Jsii$Proxy

@Generated(value="jsii-pacmak/1.97.0 (build 729de35)", date="2024-04-24T21:00:28.362Z") @Stability(Stable) public interface AllocatedSubnet extends software.amazon.jsii.JsiiSerializable
CIDR Allocated Subnet.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.ec2.*;
 AllocatedSubnet allocatedSubnet = AllocatedSubnet.builder()
         .cidr("cidr")
         // the properties below are optional
         .ipv6Cidr("ipv6Cidr")
         .build();
 
  • Method Details

    • getCidr

      @Stability(Stable) @NotNull String getCidr()
      IPv4 CIDR Allocations for a Subnet.

      Note this is specific to the IPv4 CIDR.

    • getIpv6Cidr

      @Stability(Stable) @Nullable default String getIpv6Cidr()
      IPv6 CIDR Allocations for a Subnet.

      Note this is specific to the IPv6 CIDR.

      Default: - no IPV6 CIDR

    • builder

      @Stability(Stable) static AllocatedSubnet.Builder builder()
      Returns:
      a AllocatedSubnet.Builder of AllocatedSubnet