aws-cdk-lib.aws_elasticloadbalancingv2.INetworkLoadBalancerMetrics

interface INetworkLoadBalancerMetrics

LanguageType name
.NETAmazon.CDK.AWS.ElasticLoadBalancingV2.INetworkLoadBalancerMetrics
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awselasticloadbalancingv2#INetworkLoadBalancerMetrics
Javasoftware.amazon.awscdk.services.elasticloadbalancingv2.INetworkLoadBalancerMetrics
Pythonaws_cdk.aws_elasticloadbalancingv2.INetworkLoadBalancerMetrics
TypeScript (source)aws-cdk-lib » aws_elasticloadbalancingv2 » INetworkLoadBalancerMetrics

Contains all metrics for a Network Load Balancer.

Methods

NameDescription
activeFlowCount(props?)The total number of concurrent TCP flows (or connections) from clients to targets.
consumedLCUs(props?)The number of load balancer capacity units (LCU) used by your load balancer.
custom(metricName, props?)Return the given named metric for this Network Load Balancer.
newFlowCount(props?)The total number of new TCP flows (or connections) established from clients to targets in the time period.
processedBytes(props?)The total number of bytes processed by the load balancer, including TCP/IP headers.
tcpClientResetCount(props?)The total number of reset (RST) packets sent from a client to a target.
tcpElbResetCount(props?)The total number of reset (RST) packets generated by the load balancer.
tcpTargetResetCount(props?)The total number of reset (RST) packets sent from a target to a client.

activeFlowCount(props?)

public activeFlowCount(props?: MetricOptions): Metric

Parameters

  • props MetricOptions

Returns

  • Metric

The total number of concurrent TCP flows (or connections) from clients to targets.

This metric includes connections in the SYN_SENT and ESTABLISHED states. TCP connections are not terminated at the load balancer, so a client opening a TCP connection to a target counts as a single flow.


consumedLCUs(props?)

public consumedLCUs(props?: MetricOptions): Metric

Parameters

  • props MetricOptions

Returns

  • Metric

The number of load balancer capacity units (LCU) used by your load balancer.


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 Load Balancer.


newFlowCount(props?)

public newFlowCount(props?: MetricOptions): Metric

Parameters

  • props MetricOptions

Returns

  • Metric

The total number of new TCP flows (or connections) established from clients to targets in the time period.


processedBytes(props?)

public processedBytes(props?: MetricOptions): Metric

Parameters

  • props MetricOptions

Returns

  • Metric

The total number of bytes processed by the load balancer, including TCP/IP headers.


tcpClientResetCount(props?)

public tcpClientResetCount(props?: MetricOptions): Metric

Parameters

  • props MetricOptions

Returns

  • Metric

The total number of reset (RST) packets sent from a client to a target.

These resets are generated by the client and forwarded by the load balancer.


tcpElbResetCount(props?)

public tcpElbResetCount(props?: MetricOptions): Metric

Parameters

  • props MetricOptions

Returns

  • Metric

The total number of reset (RST) packets generated by the load balancer.


tcpTargetResetCount(props?)

public tcpTargetResetCount(props?: MetricOptions): Metric

Parameters

  • props MetricOptions

Returns

  • Metric

The total number of reset (RST) packets sent from a target to a client.

These resets are generated by the target and forwarded by the load balancer.