interface INetworkTargetGroupMetrics
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.ElasticLoadBalancingV2.INetworkTargetGroupMetrics |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awselasticloadbalancingv2#INetworkTargetGroupMetrics |
Java | software.amazon.awscdk.services.elasticloadbalancingv2.INetworkTargetGroupMetrics |
Python | aws_cdk.aws_elasticloadbalancingv2.INetworkTargetGroupMetrics |
TypeScript (source) | aws-cdk-lib » aws_elasticloadbalancingv2 » INetworkTargetGroupMetrics |
Contains all metrics for a Target Group of a Network Load Balancer.
Methods
| Name | Description |
|---|---|
| custom(metricName, props?) | Return the given named metric for this Network Target Group. |
| healthy | The number of targets that are considered healthy. |
| un | The number of targets that are considered unhealthy. |
custom(metricName, props?)
public custom(metricName: string, props?: MetricOptions): Metric
Parameters
- metricName
string - props
MetricOptions
Returns
Return the given named metric for this Network Target Group.
healthyHostCount(props?)
public healthyHostCount(props?: MetricOptions): Metric
Parameters
- props
MetricOptions
Returns
The number of targets that are considered healthy.
unHealthyHostCount(props?)
public unHealthyHostCount(props?: MetricOptions): Metric
Parameters
- props
MetricOptions
Returns
The number of targets that are considered unhealthy.

.NET
Go
Java
Python
TypeScript (