Interface IApplicationLoadBalancer

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

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:44.343Z") @Stability(Stable) public interface IApplicationLoadBalancer extends, 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.
    • 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.

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