Interface INetworkLoadBalancer
- All Superinterfaces:
IConnectable
,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.104.0 (build e79254c)",
date="2024-11-06T23:25:10.008Z")
@Stability(Stable)
public interface INetworkLoadBalancer
extends software.amazon.jsii.JsiiSerializable, ILoadBalancerV2, IVpcEndpointServiceLoadBalancer, IConnectable
A network load balancer.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Internal default implementation forINetworkLoadBalancer
.static final class
A 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 String
Indicates whether to evaluate inbound security group rules for traffic sent to a Network Load Balancer through AWS PrivateLink.default IpAddressType
The type of IP addresses to use.All metrics available for this load balancer.Security groups associated with this load balancer.default IVpc
getVpc()
The VPC this load balancer has been created in (if available).Methods inherited from interface software.amazon.awscdk.services.ec2.IConnectable
getConnections
Methods inherited from interface software.constructs.IConstruct
getNode
Methods inherited from interface software.amazon.awscdk.services.elasticloadbalancingv2.ILoadBalancerV2
getLoadBalancerCanonicalHostedZoneId, getLoadBalancerDnsName
Methods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getEnv, getStack
Methods inherited from interface software.amazon.awscdk.services.ec2.IVpcEndpointServiceLoadBalancer
getLoadBalancerArn
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
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
The type of IP addresses to use.Default: IpAddressType.IPV4
-
getSecurityGroups
Security groups associated with this load balancer. -
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
-