Interface INetworkLoadBalancer

All Superinterfaces:
software.constructs.IConstruct, software.constructs.IDependable, ILoadBalancerV2, IResource, IVpcEndpointServiceLoadBalancer, software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
INetworkLoadBalancer.Jsii$Default
All Known Implementing Classes:
INetworkLoadBalancer.Jsii$Proxy, NetworkLoadBalancer

@Generated(value="jsii-pacmak/1.92.0 (build db7f27d)", date="2023-12-06T04:49:38.634Z") @Stability(Stable) public interface INetworkLoadBalancer extends software.amazon.jsii.JsiiSerializable, ILoadBalancerV2, IVpcEndpointServiceLoadBalancer
A network load balancer.
  • Method Details

    • getMetrics

      @Stability(Stable) @NotNull INetworkLoadBalancerMetrics getMetrics()
      All metrics available for this load balancer.
    • getSecurityGroups

      @Stability(Stable) @Nullable default List<String> getSecurityGroups()
      Security groups associated with this load balancer.
    • getVpc

      @Stability(Stable) @Nullable default IVpc getVpc()
      The VPC this load balancer has been created in (if available).
    • addListener

      @Stability(Stable) @NotNull NetworkListener addListener(@NotNull String id, @NotNull BaseNetworkListenerProps props)
      Add a listener to this load balancer.

      Parameters:
      id - This parameter is required.
      props - This parameter is required.
      Returns:
      The newly created listener