Interface IApplicationLoadBalancer.Jsii$Default

All Superinterfaces:
IApplicationLoadBalancer, IApplicationLoadBalancerRef, IApplicationLoadBalancerRef.Jsii$Default, IConnectable, IConnectable.Jsii$Default, software.constructs.IConstruct, software.constructs.IConstruct.Jsii$Default, software.constructs.IDependable, software.constructs.IDependable.Jsii$Default, IEnvironmentAware, IEnvironmentAware.Jsii$Default, ILoadBalancerRef, ILoadBalancerRef.Jsii$Default, ILoadBalancerV2, ILoadBalancerV2.Jsii$Default, IResource, IResource.Jsii$Default, software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
IApplicationLoadBalancer.Jsii$Proxy
Enclosing interface:
IApplicationLoadBalancer

@Internal public static interface IApplicationLoadBalancer.Jsii$Default extends IApplicationLoadBalancer, IConnectable.Jsii$Default, IApplicationLoadBalancerRef.Jsii$Default, ILoadBalancerV2.Jsii$Default
Internal default implementation for IApplicationLoadBalancer.
  • Method Details

    • getListeners

      @Stability(Stable) @NotNull default 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
    • getLoadBalancerArn

      @Stability(Stable) @NotNull default String getLoadBalancerArn()
      The ARN of this load balancer.
      Specified by:
      getLoadBalancerArn in interface IApplicationLoadBalancer
    • getMetrics

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

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

      If the @aws-cdk/aws-elasticloadbalancingV2:albDualstackWithoutPublicIpv4SecurityGroupRulesDefault feature flag is set (the default for new projects), and addListener() is called with open: true, the load balancer's security group will automatically include both IPv4 and IPv6 ingress rules when using IpAddressType.DUAL_STACK_WITHOUT_PUBLIC_IPV4.

      For existing projects that only have IPv4 rules, you can opt-in to IPv6 ingress rules by enabling the feature flag in your cdk.json file. Note that enabling this feature flag will modify existing security group rules.

      Default: IpAddressType.IPV4

      Specified by:
      getIpAddressType in interface IApplicationLoadBalancer
    • 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.

      Specified by:
      getVpc in interface IApplicationLoadBalancer
    • addListener

      @Stability(Stable) @NotNull default 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.