Interface IApplicationTargetGroup
A Target Group for Application Load Balancers.
Inherited Members
Namespace: Amazon.CDK.AWS.ElasticLoadBalancingV2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IApplicationTargetGroup : ITargetGroup
Syntax (vb)
Public Interface IApplicationTargetGroup
Inherits ITargetGroup, IConstruct, IDependable
Synopsis
Properties
Metrics | All metrics available for this target group. |
Methods
AddTarget(IApplicationLoadBalancerTarget[]) | Add a load balancing target to this target group. |
RegisterConnectable(IConnectable, Port) | Register a connectable as a member of this target group. |
RegisterListener(IApplicationListener, IConstruct) | Register a listener that is load balancing to this target group. |
Properties
Metrics
All metrics available for this target group.
IApplicationTargetGroupMetrics Metrics { get; }
Property Value
IApplicationTargetGroupMetrics
Methods
AddTarget(IApplicationLoadBalancerTarget[])
Add a load balancing target to this target group.
void AddTarget(params IApplicationLoadBalancerTarget[] targets)
Parameters
- targets IApplicationLoadBalancerTarget[]
RegisterConnectable(IConnectable, Port)
Register a connectable as a member of this target group.
void RegisterConnectable(IConnectable connectable, Port portRange = null)
Parameters
- connectable IConnectable
- portRange Port
Remarks
Don't call this directly. It will be called by load balancing targets.
RegisterListener(IApplicationListener, IConstruct)
Register a listener that is load balancing to this target group.
void RegisterListener(IApplicationListener listener, IConstruct associatingConstruct = null)
Parameters
- listener IApplicationListener
- associatingConstruct Constructs.IConstruct
Remarks
Don't call this directly. It will be called by listeners.