Interface IApplicationLoadBalancer
An application load balancer.
Inherited Members
Namespace: Amazon.CDK.AWS.ElasticLoadBalancingV2
Assembly: Amazon.CDK.AWS.ElasticLoadBalancingV2.dll
Syntax (csharp)
public interface IApplicationLoadBalancer : ILoadBalancerV2, IResource, IConstruct, IDependable, IConnectable
Syntax (vb)
Public Interface IApplicationLoadBalancer
Inherits ILoadBalancerV2, IResource, IConstruct, IConstruct, IDependable, IConnectable
Synopsis
Properties
IpAddressType | The IP Address Type for this load balancer. |
Listeners | A list of listeners that have been added to the load balancer. |
LoadBalancerArn | The ARN of this load balancer. |
Vpc | The VPC this load balancer has been created in (if available). |
Methods
AddListener(String, IBaseApplicationListenerProps) | Add a new listener to this load balancer. |
Properties
IpAddressType
The IP Address Type for this load balancer.
virtual Nullable<IpAddressType> IpAddressType { get; }
Property Value
System.Nullable<IpAddressType>
Remarks
Default: IpAddressType.IPV4
Listeners
A list of listeners that have been added to the load balancer.
ApplicationListener[] Listeners { get; }
Property Value
Remarks
This list is only valid for owned constructs.
LoadBalancerArn
The ARN of this load balancer.
string LoadBalancerArn { get; }
Property Value
System.String
Vpc
The VPC this load balancer has been created in (if available).
virtual IVpc Vpc { get; }
Property Value
Remarks
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.
Methods
AddListener(String, IBaseApplicationListenerProps)
Add a new listener to this load balancer.
ApplicationListener AddListener(string id, IBaseApplicationListenerProps props)
Parameters
- id System.String
- props IBaseApplicationListenerProps
Returns