Interface INetworkTargetGroup
A network target group.
Inherited Members
Namespace: Amazon.CDK.AWS.ElasticLoadBalancingV2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface INetworkTargetGroup : ITargetGroup
Syntax (vb)
Public Interface INetworkTargetGroup
Inherits ITargetGroup, IConstruct, IDependable
Synopsis
Properties
Metrics | All metrics available for this target group. |
Methods
AddTarget(INetworkLoadBalancerTarget[]) | Add a load balancing target to this target group. |
RegisterListener(INetworkListener) | Register a listener that is load balancing to this target group. |
Properties
Metrics
All metrics available for this target group.
INetworkTargetGroupMetrics Metrics { get; }
Property Value
Methods
AddTarget(INetworkLoadBalancerTarget[])
Add a load balancing target to this target group.
void AddTarget(params INetworkLoadBalancerTarget[] targets)
Parameters
- targets INetworkLoadBalancerTarget[]
RegisterListener(INetworkListener)
Register a listener that is load balancing to this target group.
void RegisterListener(INetworkListener listener)
Parameters
- listener INetworkListener
Remarks
Don't call this directly. It will be called by listeners.