aws-cdk-lib.aws_elasticloadbalancingv2.INetworkTargetGroupMetrics

interface INetworkTargetGroupMetrics

LanguageType name
.NETAmazon.CDK.AWS.ElasticLoadBalancingV2.INetworkTargetGroupMetrics
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awselasticloadbalancingv2#INetworkTargetGroupMetrics
Javasoftware.amazon.awscdk.services.elasticloadbalancingv2.INetworkTargetGroupMetrics
Pythonaws_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

NameDescription
custom(metricName, props?)Return the given named metric for this Network Target Group.
healthyHostCount(props?)The number of targets that are considered healthy.
unHealthyHostCount(props?)The number of targets that are considered unhealthy.

custom(metricName, props?)

public custom(metricName: string, props?: MetricOptions): Metric

Parameters

  • metricName string
  • props MetricOptions

Returns

  • Metric

Return the given named metric for this Network Target Group.


healthyHostCount(props?)

public healthyHostCount(props?: MetricOptions): Metric

Parameters

  • props MetricOptions

Returns

  • Metric

The number of targets that are considered healthy.


unHealthyHostCount(props?)

public unHealthyHostCount(props?: MetricOptions): Metric

Parameters

  • props MetricOptions

Returns

  • Metric

The number of targets that are considered unhealthy.