interface INetworkTargetGroupMetrics
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.ElasticLoadBalancingV2.INetworkTargetGroupMetrics |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awselasticloadbalancingv2#INetworkTargetGroupMetrics |
![]() | software.amazon.awscdk.services.elasticloadbalancingv2.INetworkTargetGroupMetrics |
![]() | aws_cdk.aws_elasticloadbalancingv2.INetworkTargetGroupMetrics |
![]() | 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
Metric
Options
Returns
Return the given named metric for this Network Target Group.
healthyHostCount(props?)
public healthyHostCount(props?: MetricOptions): Metric
Parameters
- props
Metric
Options
Returns
The number of targets that are considered healthy.
unHealthyHostCount(props?)
public unHealthyHostCount(props?: MetricOptions): Metric
Parameters
- props
Metric
Options
Returns
The number of targets that are considered unhealthy.