Class ApplicationLoadBalancer

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.elasticloadbalancingv2.BaseLoadBalancer
software.amazon.awscdk.services.elasticloadbalancingv2.ApplicationLoadBalancer
All Implemented Interfaces:
IResource, IConnectable, IApplicationLoadBalancer, ILoadBalancerV2, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-11-27T16:50:57.542Z") @Stability(Stable) public class ApplicationLoadBalancer extends BaseLoadBalancer implements IApplicationLoadBalancer
Define an Application Load Balancer.

Example:

 import software.amazon.awscdk.services.autoscaling.AutoScalingGroup;
 AutoScalingGroup asg;
 Vpc vpc;
 // Create the load balancer in a VPC. 'internetFacing' is 'false'
 // by default, which creates an internal load balancer.
 ApplicationLoadBalancer lb = ApplicationLoadBalancer.Builder.create(this, "LB")
         .vpc(vpc)
         .internetFacing(true)
         .build();
 // Add a listener and open up the load balancer's security group
 // to the world.
 ApplicationListener listener = lb.addListener("Listener", BaseApplicationListenerProps.builder()
         .port(80)
         // 'open: true' is the default, you can leave it out if you want. Set it
         // to 'false' and use `listener.connections` if you want to be selective
         // about who can access the load balancer.
         .open(true)
         .build());
 // Create an AutoScaling group and add it as a load balancing
 // target to the listener.
 listener.addTargets("ApplicationFleet", AddApplicationTargetsProps.builder()
         .port(8080)
         .targets(List.of(asg))
         .build());
 
  • Constructor Details

    • ApplicationLoadBalancer

      protected ApplicationLoadBalancer(software.amazon.jsii.JsiiObjectRef objRef)
    • ApplicationLoadBalancer

      protected ApplicationLoadBalancer(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • ApplicationLoadBalancer

      @Stability(Stable) public ApplicationLoadBalancer(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull ApplicationLoadBalancerProps props)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      props - This parameter is required.
  • Method Details

    • fromApplicationLoadBalancerAttributes

      @Stability(Stable) @NotNull public static IApplicationLoadBalancer fromApplicationLoadBalancerAttributes(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull ApplicationLoadBalancerAttributes attrs)
      Import an existing Application Load Balancer.

      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      attrs - This parameter is required.
    • fromLookup

      @Stability(Stable) @NotNull public static IApplicationLoadBalancer fromLookup(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull ApplicationLoadBalancerLookupOptions options)
      Look up an application load balancer.

      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      options - This parameter is required.
    • addListener

      @Stability(Stable) @NotNull public ApplicationListener addListener(@NotNull String id, @NotNull BaseApplicationListenerProps props)
      Add a new listener to this load balancer.

      Specified by:
      addListener in interface IApplicationLoadBalancer
      Parameters:
      id - This parameter is required.
      props - This parameter is required.
    • addRedirect

      @Stability(Stable) @NotNull public ApplicationListener addRedirect(@Nullable ApplicationLoadBalancerRedirectConfig props)
      Add a redirection listener to this load balancer.

      Parameters:
      props -
    • addRedirect

      @Stability(Stable) @NotNull public ApplicationListener addRedirect()
      Add a redirection listener to this load balancer.
    • addSecurityGroup

      @Stability(Stable) public void addSecurityGroup(@NotNull ISecurityGroup securityGroup)
      Add a security group to this load balancer.

      Parameters:
      securityGroup - This parameter is required.
    • logAccessLogs

      @Stability(Stable) public void logAccessLogs(@NotNull IBucket bucket, @Nullable String prefix)
      Enable access logging for this load balancer.

      A region must be specified on the stack containing the load balancer; you cannot enable logging on environment-agnostic stacks. See https://docs.aws.amazon.com/cdk/latest/guide/environments.html

      Overrides:
      logAccessLogs in class BaseLoadBalancer
      Parameters:
      bucket - This parameter is required.
      prefix -
    • logAccessLogs

      @Stability(Stable) public void logAccessLogs(@NotNull IBucket bucket)
      Enable access logging for this load balancer.

      A region must be specified on the stack containing the load balancer; you cannot enable logging on environment-agnostic stacks. See https://docs.aws.amazon.com/cdk/latest/guide/environments.html

      Overrides:
      logAccessLogs in class BaseLoadBalancer
      Parameters:
      bucket - This parameter is required.
    • logConnectionLogs

      @Stability(Stable) public void logConnectionLogs(@NotNull IBucket bucket, @Nullable String prefix)
      Enable connection logging for this load balancer.

      A region must be specified on the stack containing the load balancer; you cannot enable logging on environment-agnostic stacks.

      Parameters:
      bucket - This parameter is required.
      prefix -
      See Also:
    • logConnectionLogs

      @Stability(Stable) public void logConnectionLogs(@NotNull IBucket bucket)
      Enable connection logging for this load balancer.

      A region must be specified on the stack containing the load balancer; you cannot enable logging on environment-agnostic stacks.

      Parameters:
      bucket - This parameter is required.
      See Also:
    • metric

      @Stability(Deprecated) @Deprecated @NotNull public Metric metric(@NotNull String metricName, @Nullable MetricOptions props)
      Deprecated.
      Use ApplicationLoadBalancer.metrics.custom instead
      (deprecated) Return the given named metric for this Application Load Balancer.

      Default: Average over 5 minutes

      Parameters:
      metricName - This parameter is required.
      props -
    • metric

      @Stability(Deprecated) @Deprecated @NotNull public Metric metric(@NotNull String metricName)
      Deprecated.
      Use ApplicationLoadBalancer.metrics.custom instead
      (deprecated) Return the given named metric for this Application Load Balancer.

      Default: Average over 5 minutes

      Parameters:
      metricName - This parameter is required.
    • metricActiveConnectionCount

      @Stability(Deprecated) @Deprecated @NotNull public Metric metricActiveConnectionCount(@Nullable MetricOptions props)
      Deprecated.
      Use ApplicationLoadBalancer.metrics.activeConnectionCount instead
      (deprecated) The total number of concurrent TCP connections active from clients to the load balancer and from the load balancer to targets.

      Default: Sum over 5 minutes

      Parameters:
      props -
    • metricActiveConnectionCount

      @Stability(Deprecated) @Deprecated @NotNull public Metric metricActiveConnectionCount()
      Deprecated.
      Use ApplicationLoadBalancer.metrics.activeConnectionCount instead
      (deprecated) The total number of concurrent TCP connections active from clients to the load balancer and from the load balancer to targets.

      Default: Sum over 5 minutes

    • metricClientTlsNegotiationErrorCount

      @Stability(Deprecated) @Deprecated @NotNull public Metric metricClientTlsNegotiationErrorCount(@Nullable MetricOptions props)
      Deprecated.
      Use ApplicationLoadBalancer.metrics.clientTlsNegotiationErrorCount instead
      (deprecated) The number of TLS connections initiated by the client that did not establish a session with the load balancer.

      Possible causes include a mismatch of ciphers or protocols.

      Default: Sum over 5 minutes

      Parameters:
      props -
    • metricClientTlsNegotiationErrorCount

      @Stability(Deprecated) @Deprecated @NotNull public Metric metricClientTlsNegotiationErrorCount()
      Deprecated.
      Use ApplicationLoadBalancer.metrics.clientTlsNegotiationErrorCount instead
      (deprecated) The number of TLS connections initiated by the client that did not establish a session with the load balancer.

      Possible causes include a mismatch of ciphers or protocols.

      Default: Sum over 5 minutes

    • metricConsumedLCUs

      @Stability(Deprecated) @Deprecated @NotNull public Metric metricConsumedLCUs(@Nullable MetricOptions props)
      Deprecated.
      Use ApplicationLoadBalancer.metrics.consumedLCUs instead
      (deprecated) The number of load balancer capacity units (LCU) used by your load balancer.

      Default: Sum over 5 minutes

      Parameters:
      props -
    • metricConsumedLCUs

      @Stability(Deprecated) @Deprecated @NotNull public Metric metricConsumedLCUs()
      Deprecated.
      Use ApplicationLoadBalancer.metrics.consumedLCUs instead
      (deprecated) The number of load balancer capacity units (LCU) used by your load balancer.

      Default: Sum over 5 minutes

    • metricElbAuthError

      @Stability(Deprecated) @Deprecated @NotNull public Metric metricElbAuthError(@Nullable MetricOptions props)
      Deprecated.
      Use ApplicationLoadBalancer.metrics.elbAuthError instead
      (deprecated) The number of user authentications that could not be completed.

      Because an authenticate action was misconfigured, the load balancer couldn't establish a connection with the IdP, or the load balancer couldn't complete the authentication flow due to an internal error.

      Default: Sum over 5 minutes

      Parameters:
      props -
    • metricElbAuthError

      @Stability(Deprecated) @Deprecated @NotNull public Metric metricElbAuthError()
      Deprecated.
      Use ApplicationLoadBalancer.metrics.elbAuthError instead
      (deprecated) The number of user authentications that could not be completed.

      Because an authenticate action was misconfigured, the load balancer couldn't establish a connection with the IdP, or the load balancer couldn't complete the authentication flow due to an internal error.

      Default: Sum over 5 minutes

    • metricElbAuthFailure

      @Stability(Deprecated) @Deprecated @NotNull public Metric metricElbAuthFailure(@Nullable MetricOptions props)
      Deprecated.
      Use ApplicationLoadBalancer.metrics.elbAuthFailure instead
      (deprecated) The number of user authentications that could not be completed because the IdP denied access to the user or an authorization code was used more than once.

      Default: Sum over 5 minutes

      Parameters:
      props -
    • metricElbAuthFailure

      @Stability(Deprecated) @Deprecated @NotNull public Metric metricElbAuthFailure()
      Deprecated.
      Use ApplicationLoadBalancer.metrics.elbAuthFailure instead
      (deprecated) The number of user authentications that could not be completed because the IdP denied access to the user or an authorization code was used more than once.

      Default: Sum over 5 minutes

    • metricElbAuthLatency

      @Stability(Deprecated) @Deprecated @NotNull public Metric metricElbAuthLatency(@Nullable MetricOptions props)
      Deprecated.
      Use ApplicationLoadBalancer.metrics.elbAuthLatency instead
      (deprecated) The time elapsed, in milliseconds, to query the IdP for the ID token and user info.

      If one or more of these operations fail, this is the time to failure.

      Default: Average over 5 minutes

      Parameters:
      props -
    • metricElbAuthLatency

      @Stability(Deprecated) @Deprecated @NotNull public Metric metricElbAuthLatency()
      Deprecated.
      Use ApplicationLoadBalancer.metrics.elbAuthLatency instead
      (deprecated) The time elapsed, in milliseconds, to query the IdP for the ID token and user info.

      If one or more of these operations fail, this is the time to failure.

      Default: Average over 5 minutes

    • metricElbAuthSuccess

      @Stability(Deprecated) @Deprecated @NotNull public Metric metricElbAuthSuccess(@Nullable MetricOptions props)
      Deprecated.
      Use ApplicationLoadBalancer.metrics.elbAuthSuccess instead
      (deprecated) The number of authenticate actions that were successful.

      This metric is incremented at the end of the authentication workflow, after the load balancer has retrieved the user claims from the IdP.

      Default: Sum over 5 minutes

      Parameters:
      props -
    • metricElbAuthSuccess

      @Stability(Deprecated) @Deprecated @NotNull public Metric metricElbAuthSuccess()
      Deprecated.
      Use ApplicationLoadBalancer.metrics.elbAuthSuccess instead
      (deprecated) The number of authenticate actions that were successful.

      This metric is incremented at the end of the authentication workflow, after the load balancer has retrieved the user claims from the IdP.

      Default: Sum over 5 minutes

    • metricHttpCodeElb

      @Stability(Deprecated) @Deprecated @NotNull public Metric metricHttpCodeElb(@NotNull HttpCodeElb code, @Nullable MetricOptions props)
      Deprecated.
      Use ApplicationLoadBalancer.metrics.httpCodeElb instead
      (deprecated) The number of HTTP 3xx/4xx/5xx codes that originate from the load balancer.

      This does not include any response codes generated by the targets.

      Default: Sum over 5 minutes

      Parameters:
      code - This parameter is required.
      props -
    • metricHttpCodeElb

      @Stability(Deprecated) @Deprecated @NotNull public Metric metricHttpCodeElb(@NotNull HttpCodeElb code)
      Deprecated.
      Use ApplicationLoadBalancer.metrics.httpCodeElb instead
      (deprecated) The number of HTTP 3xx/4xx/5xx codes that originate from the load balancer.

      This does not include any response codes generated by the targets.

      Default: Sum over 5 minutes

      Parameters:
      code - This parameter is required.
    • metricHttpCodeTarget

      @Stability(Deprecated) @Deprecated @NotNull public Metric metricHttpCodeTarget(@NotNull HttpCodeTarget code, @Nullable MetricOptions props)
      Deprecated.
      Use ApplicationLoadBalancer.metrics.httpCodeTarget instead
      (deprecated) The number of HTTP 2xx/3xx/4xx/5xx response codes generated by all targets in the load balancer.

      This does not include any response codes generated by the load balancer.

      Default: Sum over 5 minutes

      Parameters:
      code - This parameter is required.
      props -
    • metricHttpCodeTarget

      @Stability(Deprecated) @Deprecated @NotNull public Metric metricHttpCodeTarget(@NotNull HttpCodeTarget code)
      Deprecated.
      Use ApplicationLoadBalancer.metrics.httpCodeTarget instead
      (deprecated) The number of HTTP 2xx/3xx/4xx/5xx response codes generated by all targets in the load balancer.

      This does not include any response codes generated by the load balancer.

      Default: Sum over 5 minutes

      Parameters:
      code - This parameter is required.
    • metricHttpFixedResponseCount

      @Stability(Deprecated) @Deprecated @NotNull public Metric metricHttpFixedResponseCount(@Nullable MetricOptions props)
      Deprecated.
      Use ApplicationLoadBalancer.metrics.httpFixedResponseCount instead
      (deprecated) The number of fixed-response actions that were successful.

      Default: Sum over 5 minutes

      Parameters:
      props -
    • metricHttpFixedResponseCount

      @Stability(Deprecated) @Deprecated @NotNull public Metric metricHttpFixedResponseCount()
      Deprecated.
      Use ApplicationLoadBalancer.metrics.httpFixedResponseCount instead
      (deprecated) The number of fixed-response actions that were successful.

      Default: Sum over 5 minutes

    • metricHttpRedirectCount

      @Stability(Deprecated) @Deprecated @NotNull public Metric metricHttpRedirectCount(@Nullable MetricOptions props)
      Deprecated.
      Use ApplicationLoadBalancer.metrics.httpRedirectCount instead
      (deprecated) The number of redirect actions that were successful.

      Default: Sum over 5 minutes

      Parameters:
      props -
    • metricHttpRedirectCount

      @Stability(Deprecated) @Deprecated @NotNull public Metric metricHttpRedirectCount()
      Deprecated.
      Use ApplicationLoadBalancer.metrics.httpRedirectCount instead
      (deprecated) The number of redirect actions that were successful.

      Default: Sum over 5 minutes

    • metricHttpRedirectUrlLimitExceededCount

      @Stability(Deprecated) @Deprecated @NotNull public Metric metricHttpRedirectUrlLimitExceededCount(@Nullable MetricOptions props)
      Deprecated.
      Use ApplicationLoadBalancer.metrics.httpRedirectUrlLimitExceededCount instead
      (deprecated) The number of redirect actions that couldn't be completed because the URL in the response location header is larger than 8K.

      Default: Sum over 5 minutes

      Parameters:
      props -
    • metricHttpRedirectUrlLimitExceededCount

      @Stability(Deprecated) @Deprecated @NotNull public Metric metricHttpRedirectUrlLimitExceededCount()
      Deprecated.
      Use ApplicationLoadBalancer.metrics.httpRedirectUrlLimitExceededCount instead
      (deprecated) The number of redirect actions that couldn't be completed because the URL in the response location header is larger than 8K.

      Default: Sum over 5 minutes

    • metricIpv6ProcessedBytes

      @Stability(Deprecated) @Deprecated @NotNull public Metric metricIpv6ProcessedBytes(@Nullable MetricOptions props)
      Deprecated.
      Use ApplicationLoadBalancer.metrics.ipv6ProcessedBytes instead
      (deprecated) The total number of bytes processed by the load balancer over IPv6.

      Default: Sum over 5 minutes

      Parameters:
      props -
    • metricIpv6ProcessedBytes

      @Stability(Deprecated) @Deprecated @NotNull public Metric metricIpv6ProcessedBytes()
      Deprecated.
      Use ApplicationLoadBalancer.metrics.ipv6ProcessedBytes instead
      (deprecated) The total number of bytes processed by the load balancer over IPv6.

      Default: Sum over 5 minutes

    • metricIpv6RequestCount

      @Stability(Deprecated) @Deprecated @NotNull public Metric metricIpv6RequestCount(@Nullable MetricOptions props)
      Deprecated.
      Use ApplicationLoadBalancer.metrics.ipv6RequestCount instead
      (deprecated) The number of IPv6 requests received by the load balancer.

      Default: Sum over 5 minutes

      Parameters:
      props -
    • metricIpv6RequestCount

      @Stability(Deprecated) @Deprecated @NotNull public Metric metricIpv6RequestCount()
      Deprecated.
      Use ApplicationLoadBalancer.metrics.ipv6RequestCount instead
      (deprecated) The number of IPv6 requests received by the load balancer.

      Default: Sum over 5 minutes

    • metricNewConnectionCount

      @Stability(Deprecated) @Deprecated @NotNull public Metric metricNewConnectionCount(@Nullable MetricOptions props)
      Deprecated.
      Use ApplicationLoadBalancer.metrics.newConnectionCount instead
      (deprecated) The total number of new TCP connections established from clients to the load balancer and from the load balancer to targets.

      Default: Sum over 5 minutes

      Parameters:
      props -
    • metricNewConnectionCount

      @Stability(Deprecated) @Deprecated @NotNull public Metric metricNewConnectionCount()
      Deprecated.
      Use ApplicationLoadBalancer.metrics.newConnectionCount instead
      (deprecated) The total number of new TCP connections established from clients to the load balancer and from the load balancer to targets.

      Default: Sum over 5 minutes

    • metricProcessedBytes

      @Stability(Deprecated) @Deprecated @NotNull public Metric metricProcessedBytes(@Nullable MetricOptions props)
      Deprecated.
      Use ApplicationLoadBalancer.metrics.processedBytes instead
      (deprecated) The total number of bytes processed by the load balancer over IPv4 and IPv6.

      Default: Sum over 5 minutes

      Parameters:
      props -
    • metricProcessedBytes

      @Stability(Deprecated) @Deprecated @NotNull public Metric metricProcessedBytes()
      Deprecated.
      Use ApplicationLoadBalancer.metrics.processedBytes instead
      (deprecated) The total number of bytes processed by the load balancer over IPv4 and IPv6.

      Default: Sum over 5 minutes

    • metricRejectedConnectionCount

      @Stability(Deprecated) @Deprecated @NotNull public Metric metricRejectedConnectionCount(@Nullable MetricOptions props)
      Deprecated.
      Use ApplicationLoadBalancer.metrics.rejectedConnectionCount instead
      (deprecated) The number of connections that were rejected because the load balancer had reached its maximum number of connections.

      Default: Sum over 5 minutes

      Parameters:
      props -
    • metricRejectedConnectionCount

      @Stability(Deprecated) @Deprecated @NotNull public Metric metricRejectedConnectionCount()
      Deprecated.
      Use ApplicationLoadBalancer.metrics.rejectedConnectionCount instead
      (deprecated) The number of connections that were rejected because the load balancer had reached its maximum number of connections.

      Default: Sum over 5 minutes

    • metricRequestCount

      @Stability(Deprecated) @Deprecated @NotNull public Metric metricRequestCount(@Nullable MetricOptions props)
      Deprecated.
      Use ApplicationLoadBalancer.metrics.requestCount instead
      (deprecated) The number of requests processed over IPv4 and IPv6.

      This count includes only the requests with a response generated by a target of the load balancer.

      Default: Sum over 5 minutes

      Parameters:
      props -
    • metricRequestCount

      @Stability(Deprecated) @Deprecated @NotNull public Metric metricRequestCount()
      Deprecated.
      Use ApplicationLoadBalancer.metrics.requestCount instead
      (deprecated) The number of requests processed over IPv4 and IPv6.

      This count includes only the requests with a response generated by a target of the load balancer.

      Default: Sum over 5 minutes

    • metricRuleEvaluations

      @Stability(Deprecated) @Deprecated @NotNull public Metric metricRuleEvaluations(@Nullable MetricOptions props)
      Deprecated.
      Use ApplicationLoadBalancer.metrics.ruleEvaluations instead
      (deprecated) The number of rules processed by the load balancer given a request rate averaged over an hour.

      Default: Sum over 5 minutes

      Parameters:
      props -
    • metricRuleEvaluations

      @Stability(Deprecated) @Deprecated @NotNull public Metric metricRuleEvaluations()
      Deprecated.
      Use ApplicationLoadBalancer.metrics.ruleEvaluations instead
      (deprecated) The number of rules processed by the load balancer given a request rate averaged over an hour.

      Default: Sum over 5 minutes

    • metricTargetConnectionErrorCount

      @Stability(Deprecated) @Deprecated @NotNull public Metric metricTargetConnectionErrorCount(@Nullable MetricOptions props)
      Deprecated.
      Use ApplicationLoadBalancer.metrics.targetConnectionErrorCount instead
      (deprecated) The number of connections that were not successfully established between the load balancer and target.

      Default: Sum over 5 minutes

      Parameters:
      props -
    • metricTargetConnectionErrorCount

      @Stability(Deprecated) @Deprecated @NotNull public Metric metricTargetConnectionErrorCount()
      Deprecated.
      Use ApplicationLoadBalancer.metrics.targetConnectionErrorCount instead
      (deprecated) The number of connections that were not successfully established between the load balancer and target.

      Default: Sum over 5 minutes

    • metricTargetResponseTime

      @Stability(Deprecated) @Deprecated @NotNull public Metric metricTargetResponseTime(@Nullable MetricOptions props)
      Deprecated.
      Use ApplicationLoadBalancer.metrics.targetResponseTime instead
      (deprecated) The time elapsed, in seconds, after the request leaves the load balancer until a response from the target is received.

      Default: Average over 5 minutes

      Parameters:
      props -
    • metricTargetResponseTime

      @Stability(Deprecated) @Deprecated @NotNull public Metric metricTargetResponseTime()
      Deprecated.
      Use ApplicationLoadBalancer.metrics.targetResponseTime instead
      (deprecated) The time elapsed, in seconds, after the request leaves the load balancer until a response from the target is received.

      Default: Average over 5 minutes

    • metricTargetTLSNegotiationErrorCount

      @Stability(Deprecated) @Deprecated @NotNull public Metric metricTargetTLSNegotiationErrorCount(@Nullable MetricOptions props)
      Deprecated.
      Use ApplicationLoadBalancer.metrics.targetTLSNegotiationErrorCount instead
      (deprecated) The number of TLS connections initiated by the load balancer that did not establish a session with the target.

      Possible causes include a mismatch of ciphers or protocols.

      Default: Sum over 5 minutes

      Parameters:
      props -
    • metricTargetTLSNegotiationErrorCount

      @Stability(Deprecated) @Deprecated @NotNull public Metric metricTargetTLSNegotiationErrorCount()
      Deprecated.
      Use ApplicationLoadBalancer.metrics.targetTLSNegotiationErrorCount instead
      (deprecated) The number of TLS connections initiated by the load balancer that did not establish a session with the target.

      Possible causes include a mismatch of ciphers or protocols.

      Default: Sum over 5 minutes

    • getConnections

      @Stability(Stable) @NotNull public Connections getConnections()
      The network connections associated with this resource.
      Specified by:
      getConnections in interface IConnectable
    • getListeners

      @Stability(Stable) @NotNull public List<ApplicationListener> getListeners()
      A list of listeners that have been added to the load balancer.

      This list is only valid for owned constructs.

      Specified by:
      getListeners in interface IApplicationLoadBalancer
    • getMetrics

      @Stability(Stable) @NotNull public IApplicationLoadBalancerMetrics getMetrics()
      All metrics available for this load balancer.
      Specified by:
      getMetrics in interface IApplicationLoadBalancer
    • getIpAddressType

      @Stability(Stable) @Nullable public IpAddressType getIpAddressType()
      The IP Address Type for this load balancer.
      Specified by:
      getIpAddressType in interface IApplicationLoadBalancer