aws-cdk-lib.aws_elasticloadbalancingv2.IApplicationLoadBalancerMetrics

interface IApplicationLoadBalancerMetrics

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

Contains all metrics for an Application Load Balancer.

Methods

NameDescription
activeConnectionCount(props?)The total number of concurrent TCP connections active from clients to the load balancer and from the load balancer to targets.
clientTlsNegotiationErrorCount(props?)The number of TLS connections initiated by the client that did not establish a session with the load balancer.
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 Application Load Balancer.
elbAuthError(props?)The number of user authentications that could not be completed.
elbAuthFailure(props?)The number of user authentications that could not be completed because the IdP denied access to the user or an authorization code was used more than once.
elbAuthLatency(props?)The time elapsed, in milliseconds, to query the IdP for the ID token and user info.
elbAuthSuccess(props?)The number of authenticate actions that were successful.
httpCodeElb(code, props?)The number of HTTP 3xx/4xx/5xx codes that originate from the load balancer.
httpCodeTarget(code, props?)The number of HTTP 2xx/3xx/4xx/5xx response codes generated by all targets in the load balancer.
httpFixedResponseCount(props?)The number of fixed-response actions that were successful.
httpRedirectCount(props?)The number of redirect actions that were successful.
httpRedirectUrlLimitExceededCount(props?)The number of redirect actions that couldn't be completed because the URL in the response location header is larger than 8K.
ipv6ProcessedBytes(props?)The total number of bytes processed by the load balancer over IPv6.
ipv6RequestCount(props?)The number of IPv6 requests received by the load balancer.
newConnectionCount(props?)The total number of new TCP connections established from clients to the load balancer and from the load balancer to targets.
processedBytes(props?)The total number of bytes processed by the load balancer over IPv4 and IPv6.
rejectedConnectionCount(props?)The number of connections that were rejected because the load balancer had reached its maximum number of connections.
requestCount(props?)The number of requests processed over IPv4 and IPv6.
ruleEvaluations(props?)The number of rules processed by the load balancer given a request rate averaged over an hour.
targetConnectionErrorCount(props?)The number of connections that were not successfully established between the load balancer and target.
targetResponseTime(props?)The time elapsed, in seconds, after the request leaves the load balancer until a response from the target is received.
targetTLSNegotiationErrorCount(props?)The number of TLS connections initiated by the load balancer that did not establish a session with the target.

activeConnectionCount(props?)

public activeConnectionCount(props?: MetricOptions): Metric

Parameters

  • props MetricOptions

Returns

  • Metric

The total number of concurrent TCP connections active from clients to the load balancer and from the load balancer to targets.


clientTlsNegotiationErrorCount(props?)

public clientTlsNegotiationErrorCount(props?: MetricOptions): Metric

Parameters

  • props MetricOptions

Returns

  • Metric

The number of TLS connections initiated by the client that did not establish a session with the load balancer.

Possible causes include a mismatch of ciphers or protocols.


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


elbAuthError(props?)

public elbAuthError(props?: MetricOptions): Metric

Parameters

  • props MetricOptions

Returns

  • Metric

The number of user authentications that could not be completed.

Because an authenticate action was misconfigured, the load balancer couldn't establish a connection with the IdP, or the load balancer couldn't complete the authentication flow due to an internal error.


elbAuthFailure(props?)

public elbAuthFailure(props?: MetricOptions): Metric

Parameters

  • props MetricOptions

Returns

  • Metric

The number of user authentications that could not be completed because the IdP denied access to the user or an authorization code was used more than once.


elbAuthLatency(props?)

public elbAuthLatency(props?: MetricOptions): Metric

Parameters

  • props MetricOptions

Returns

  • Metric

The time elapsed, in milliseconds, to query the IdP for the ID token and user info.

If one or more of these operations fail, this is the time to failure.


elbAuthSuccess(props?)

public elbAuthSuccess(props?: MetricOptions): Metric

Parameters

  • props MetricOptions

Returns

  • Metric

The number of authenticate actions that were successful.

This metric is incremented at the end of the authentication workflow, after the load balancer has retrieved the user claims from the IdP.


httpCodeElb(code, props?)

public httpCodeElb(code: HttpCodeElb, props?: MetricOptions): Metric

Parameters

  • code HttpCodeElb
  • props MetricOptions

Returns

  • Metric

The number of HTTP 3xx/4xx/5xx codes that originate from the load balancer.

This does not include any response codes generated by the targets.


httpCodeTarget(code, props?)

public httpCodeTarget(code: HttpCodeTarget, props?: MetricOptions): Metric

Parameters

  • code HttpCodeTarget
  • props MetricOptions

Returns

  • Metric

The number of HTTP 2xx/3xx/4xx/5xx response codes generated by all targets in the load balancer.

This does not include any response codes generated by the load balancer.


httpFixedResponseCount(props?)

public httpFixedResponseCount(props?: MetricOptions): Metric

Parameters

  • props MetricOptions

Returns

  • Metric

The number of fixed-response actions that were successful.


httpRedirectCount(props?)

public httpRedirectCount(props?: MetricOptions): Metric

Parameters

  • props MetricOptions

Returns

  • Metric

The number of redirect actions that were successful.


httpRedirectUrlLimitExceededCount(props?)

public httpRedirectUrlLimitExceededCount(props?: MetricOptions): Metric

Parameters

  • props MetricOptions

Returns

  • Metric

The number of redirect actions that couldn't be completed because the URL in the response location header is larger than 8K.


ipv6ProcessedBytes(props?)

public ipv6ProcessedBytes(props?: MetricOptions): Metric

Parameters

  • props MetricOptions

Returns

  • Metric

The total number of bytes processed by the load balancer over IPv6.


ipv6RequestCount(props?)

public ipv6RequestCount(props?: MetricOptions): Metric

Parameters

  • props MetricOptions

Returns

  • Metric

The number of IPv6 requests received by the load balancer.


newConnectionCount(props?)

public newConnectionCount(props?: MetricOptions): Metric

Parameters

  • props MetricOptions

Returns

  • Metric

The total number of new TCP connections established from clients to the load balancer and from the load balancer to targets.


processedBytes(props?)

public processedBytes(props?: MetricOptions): Metric

Parameters

  • props MetricOptions

Returns

  • Metric

The total number of bytes processed by the load balancer over IPv4 and IPv6.


rejectedConnectionCount(props?)

public rejectedConnectionCount(props?: MetricOptions): Metric

Parameters

  • props MetricOptions

Returns

  • Metric

The number of connections that were rejected because the load balancer had reached its maximum number of connections.


requestCount(props?)

public requestCount(props?: MetricOptions): Metric

Parameters

  • props MetricOptions

Returns

  • Metric

The number of requests processed over IPv4 and IPv6.

This count includes only the requests with a response generated by a target of the load balancer.


ruleEvaluations(props?)

public ruleEvaluations(props?: MetricOptions): Metric

Parameters

  • props MetricOptions

Returns

  • Metric

The number of rules processed by the load balancer given a request rate averaged over an hour.


targetConnectionErrorCount(props?)

public targetConnectionErrorCount(props?: MetricOptions): Metric

Parameters

  • props MetricOptions

Returns

  • Metric

The number of connections that were not successfully established between the load balancer and target.


targetResponseTime(props?)

public targetResponseTime(props?: MetricOptions): Metric

Parameters

  • props MetricOptions

Returns

  • Metric

The time elapsed, in seconds, after the request leaves the load balancer until a response from the target is received.


targetTLSNegotiationErrorCount(props?)

public targetTLSNegotiationErrorCount(props?: MetricOptions): Metric

Parameters

  • props MetricOptions

Returns

  • Metric

The number of TLS connections initiated by the load balancer that did not establish a session with the target.

Possible causes include a mismatch of ciphers or protocols.