Interface INetworkLoadBalancer
- All Superinterfaces:
IConstruct,software.constructs.IConstruct,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.84.0 (build 5404dcf)",
date="2023-06-19T16:30:44.346Z")
@Stability(Stable)
public interface INetworkLoadBalancer
extends software.amazon.jsii.JsiiSerializable, ILoadBalancerV2, IVpcEndpointServiceLoadBalancer
A network load balancer.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceInternal default implementation forINetworkLoadBalancer.static final classA proxy class which represents a concrete javascript instance of this type. -
Method Summary
Modifier and TypeMethodDescriptionaddListener(String id, BaseNetworkListenerProps props) Add a listener to this load balancer.default IVpcgetVpc()The VPC this load balancer has been created in (if available).Methods inherited from interface software.amazon.awscdk.core.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.services.elasticloadbalancingv2.ILoadBalancerV2
getLoadBalancerCanonicalHostedZoneId, getLoadBalancerDnsNameMethods inherited from interface software.amazon.awscdk.core.IResource
applyRemovalPolicy, getEnv, getStackMethods inherited from interface software.amazon.awscdk.services.ec2.IVpcEndpointServiceLoadBalancer
getLoadBalancerArnMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
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
-