Interface IApplicationLoadBalancer

All Superinterfaces:
IConnectable, software.constructs.IConstruct, software.constructs.IDependable, ILoadBalancerV2, IResource, software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
IApplicationLoadBalancer.Jsii$Default
All Known Implementing Classes:
ApplicationLoadBalancer, IApplicationLoadBalancer.Jsii$Proxy

@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-29T22:54:18.895Z") @Stability(Stable) public interface IApplicationLoadBalancer extends software.amazon.jsii.JsiiSerializable, ILoadBalancerV2, IConnectable
An application load balancer.
  • Method Details

    • getListeners

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

      This list is only valid for owned constructs.

    • getLoadBalancerArn

      @Stability(Stable) @NotNull String getLoadBalancerArn()
      The ARN of this load balancer.
    • getMetrics

      @Stability(Stable) @NotNull IApplicationLoadBalancerMetrics getMetrics()
      All metrics available for this load balancer.
    • getIpAddressType

      @Stability(Stable) @Nullable default IpAddressType getIpAddressType()
      The IP Address Type for this load balancer.

      Default: IpAddressType.IPV4

    • getVpc

      @Stability(Stable) @Nullable default IVpc getVpc()
      The VPC this load balancer has been created in (if available).

      If this interface is the result of an import call to fromApplicationLoadBalancerAttributes, the vpc attribute will be undefined unless specified in the optional properties of that method.

    • addListener

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

      Parameters:
      id - This parameter is required.
      props - This parameter is required.