Interface ISubnet

All Superinterfaces:
IConstruct, software.constructs.IConstruct, IDependable, IResource, software.amazon.jsii.JsiiSerializable
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.84.0 (build 5404dcf)", date="2023-06-19T16:30:39.340Z") @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 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.