Interface ISubnet

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

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-12-11T23:26:32.385Z") @Stability(Stable) public interface ISubnet extends software.amazon.jsii.JsiiSerializable, 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.

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