Interface ISubnet

All Superinterfaces:
software.constructs.IConstruct, software.constructs.IDependable, IResource,
All Known Subinterfaces:
IPrivateSubnet, IPrivateSubnet.Jsii$Default, IPublicSubnet, IPublicSubnet.Jsii$Default, ISubnet.Jsii$Default
All Known Implementing Classes:
IPrivateSubnet.Jsii$Proxy, IPublicSubnet.Jsii$Proxy, ISubnet.Jsii$Proxy, PrivateSubnet, PublicSubnet, Subnet

@Generated(value="jsii-pacmak/1.101.0 (build b95fe5d)", date="2024-07-12T19:34:00.899Z") @Stability(Stable) public interface ISubnet extends, IResource
  • Method Details

    • getAvailabilityZone

      @Stability(Stable) @NotNull String getAvailabilityZone()
      The Availability Zone the subnet is located in.
    • getInternetConnectivityEstablished

      @Stability(Stable) @NotNull software.constructs.IDependable getInternetConnectivityEstablished()
      Dependable that can be depended upon to force internet connectivity established on the VPC.
    • getIpv4CidrBlock

      @Stability(Stable) @NotNull String getIpv4CidrBlock()
      The IPv4 CIDR block for this subnet.
    • getRouteTable

      @Stability(Stable) @NotNull IRouteTable getRouteTable()
      The route table for this subnet.
    • getSubnetId

      @Stability(Stable) @NotNull String getSubnetId()
      The subnetId for this particular subnet.
    • associateNetworkAcl

      @Stability(Stable) void associateNetworkAcl(@NotNull String id, @NotNull INetworkAcl acl)
      Associate a Network ACL with this subnet.

      id - This parameter is required.
      acl - The Network ACL to associate. This parameter is required.