Interface INetworkLoadBalancer

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

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-17T05:10:11.061Z") @Stability(Stable) public interface INetworkLoadBalancer extends, ILoadBalancerV2, IVpcEndpointServiceLoadBalancer, IConnectable
A network load balancer.
  • Method Details

    • getMetrics

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

      @Stability(Stable) @Nullable default String getEnforceSecurityGroupInboundRulesOnPrivateLinkTraffic()
      Indicates whether to evaluate inbound security group rules for traffic sent to a Network Load Balancer through AWS PrivateLink.

      Default: on

    • getIpAddressType

      @Stability(Stable) @Nullable default IpAddressType getIpAddressType()
      The type of IP addresses to use.

      Default: IpAddressType.IPV4

    • 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.

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