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
- 
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceInternal default implementation forIApplicationLoadBalancer.static final classA proxy class which represents a concrete javascript instance of this type. - 
Method Summary
Modifier and TypeMethodDescriptionaddListener(String id, BaseApplicationListenerProps props) Add a new listener to this load balancer.default IpAddressTypeThe IP Address Type for this load balancer.A list of listeners that have been added to the load balancer.The ARN of this load balancer.All metrics available for this load balancer.default IVpcgetVpc()The VPC this load balancer has been created in (if available).Methods inherited from interface software.amazon.awscdk.services.ec2.IConnectable
getConnectionsMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.services.elasticloadbalancingv2.ILoadBalancerV2
getLoadBalancerCanonicalHostedZoneId, getLoadBalancerDnsNameMethods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getEnv, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson 
- 
Method Details
- 
getListeners
A list of listeners that have been added to the load balancer.This list is only valid for owned constructs.
 - 
getLoadBalancerArn
The ARN of this load balancer. - 
getMetrics
All metrics available for this load balancer. - 
getIpAddressType
The IP Address Type for this load balancer.If the
@aws-cdk/aws-elasticloadbalancingV2:albDualstackWithoutPublicIpv4SecurityGroupRulesDefaultfeature flag is set (the default for new projects), andaddListener()is called withopen: true, the load balancer's security group will automatically include both IPv4 and IPv6 ingress rules when usingIpAddressType.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
 - 
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.
 
 -