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, ITargetGroupRef, IConstruct, IDependable, IEnvironmentAware
Syntax (vb)
Public Interface IApplicationTargetGroup Inherits ITargetGroup, ITargetGroupRef, IConstruct, IDependable, IEnvironmentAware
Synopsis
Properties
| Metrics | All metrics available for this target group. |
Methods
| AddTarget(params 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
Methods
AddTarget(params 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 IConstruct
Remarks
Don't call this directly. It will be called by listeners.