Interface NetworkLoadBalancerProps

All Superinterfaces:
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:48.753Z") @Stability(Stable) public interface NetworkLoadBalancerProps extends
Properties to define an network load balancer.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 HostedZone hostedZone;
 NetworkLoadBalancerProps networkLoadBalancerProps = NetworkLoadBalancerProps.builder()
                 // the properties below are optional
         // the properties below are optional
  • Method Details

    • getListeners

      @Stability(Stable) @NotNull List<NetworkListenerProps> getListeners()
      Listeners (at least one listener) attached to this load balancer.

      Default: - none

    • getName

      @Stability(Stable) @NotNull String getName()
      Name of the load balancer.
    • getDomainName

      @Stability(Stable) @Nullable default String getDomainName()
      The domain name for the service, e.g. "".

      Default: - No domain name.

    • getDomainZone

      @Stability(Stable) @Nullable default IHostedZone getDomainZone()
      The Route53 hosted zone for the domain, e.g. "".

      Default: - No Route53 hosted domain zone.

    • getPublicLoadBalancer

      @Stability(Stable) @Nullable default Boolean getPublicLoadBalancer()
      Determines whether the Load Balancer will be internet-facing.

      Default: true

    • builder

      @Stability(Stable) static NetworkLoadBalancerProps.Builder builder()
      a NetworkLoadBalancerProps.Builder of NetworkLoadBalancerProps