Interface INetworkLoadBalancer
A network load balancer.
Inherited Members
Namespace: Amazon.CDK.AWS.ElasticLoadBalancingV2
Assembly: Amazon.CDK.AWS.ElasticLoadBalancingV2.dll
Syntax (csharp)
public interface INetworkLoadBalancer : ILoadBalancerV2, IResource, IConstruct, IDependable, IVpcEndpointServiceLoadBalancer
Syntax (vb)
Public Interface INetworkLoadBalancer
Inherits ILoadBalancerV2, IResource, IConstruct, IConstruct, IDependable, IVpcEndpointServiceLoadBalancer
Synopsis
Properties
Vpc | The VPC this load balancer has been created in (if available). |
Methods
AddListener(String, IBaseNetworkListenerProps) | Add a listener to this load balancer. |
Properties
Vpc
The VPC this load balancer has been created in (if available).
virtual IVpc Vpc { get; }
Property Value
Methods
AddListener(String, IBaseNetworkListenerProps)
Add a listener to this load balancer.
NetworkListener AddListener(string id, IBaseNetworkListenerProps props)
Parameters
- id System.String
- props IBaseNetworkListenerProps
Returns
The newly created listener