Module: AWSCDK::ElasticLoadBalancingv2::IApplicationLoadBalancerMetrics
- Defined in:
- elastic_load_balancingv2/i_application_load_balancer_metrics.rb
Overview
Contains all metrics for an Application Load Balancer.
Class Method Summary collapse
Instance Method Summary collapse
-
#active_connection_count(props = nil) ⇒ AWSCDK::CloudWatch::Metric
The total number of concurrent TCP connections active from clients to the load balancer and from the load balancer to targets.
-
#client_tls_negotiation_error_count(props = nil) ⇒ AWSCDK::CloudWatch::Metric
The number of TLS connections initiated by the client that did not establish a session with the load balancer.
-
#consumed_lc_us(props = nil) ⇒ AWSCDK::CloudWatch::Metric
The number of load balancer capacity units (LCU) used by your load balancer.
-
#custom(metric_name, props = nil) ⇒ AWSCDK::CloudWatch::Metric
Return the given named metric for this Application Load Balancer.
-
#elb_auth_error(props = nil) ⇒ AWSCDK::CloudWatch::Metric
The number of user authentications that could not be completed.
-
#elb_auth_failure(props = nil) ⇒ AWSCDK::CloudWatch::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.
-
#elb_auth_latency(props = nil) ⇒ AWSCDK::CloudWatch::Metric
The time elapsed, in milliseconds, to query the IdP for the ID token and user info.
-
#elb_auth_success(props = nil) ⇒ AWSCDK::CloudWatch::Metric
The number of authenticate actions that were successful.
-
#http_code_elb(code, props = nil) ⇒ AWSCDK::CloudWatch::Metric
The number of HTTP 3xx/4xx/5xx codes that originate from the load balancer.
-
#http_code_target(code, props = nil) ⇒ AWSCDK::CloudWatch::Metric
The number of HTTP 2xx/3xx/4xx/5xx response codes generated by all targets in the load balancer.
-
#http_fixed_response_count(props = nil) ⇒ AWSCDK::CloudWatch::Metric
The number of fixed-response actions that were successful.
-
#http_redirect_count(props = nil) ⇒ AWSCDK::CloudWatch::Metric
The number of redirect actions that were successful.
-
#http_redirect_url_limit_exceeded_count(props = nil) ⇒ AWSCDK::CloudWatch::Metric
The number of redirect actions that couldn't be completed because the URL in the response location header is larger than 8K.
-
#ipv6_processed_bytes(props = nil) ⇒ AWSCDK::CloudWatch::Metric
The total number of bytes processed by the load balancer over IPv6.
-
#ipv6_request_count(props = nil) ⇒ AWSCDK::CloudWatch::Metric
The number of IPv6 requests received by the load balancer.
-
#new_connection_count(props = nil) ⇒ AWSCDK::CloudWatch::Metric
The total number of new TCP connections established from clients to the load balancer and from the load balancer to targets.
-
#processed_bytes(props = nil) ⇒ AWSCDK::CloudWatch::Metric
The total number of bytes processed by the load balancer over IPv4 and IPv6.
-
#rejected_connection_count(props = nil) ⇒ AWSCDK::CloudWatch::Metric
The number of connections that were rejected because the load balancer had reached its maximum number of connections.
-
#request_count(props = nil) ⇒ AWSCDK::CloudWatch::Metric
The number of requests processed over IPv4 and IPv6.
-
#rule_evaluations(props = nil) ⇒ AWSCDK::CloudWatch::Metric
The number of rules processed by the load balancer given a request rate averaged over an hour.
-
#target_connection_error_count(props = nil) ⇒ AWSCDK::CloudWatch::Metric
The number of connections that were not successfully established between the load balancer and target.
-
#target_response_time(props = nil) ⇒ AWSCDK::CloudWatch::Metric
The time elapsed, in seconds, after the request leaves the load balancer until a response from the target is received.
-
#target_tls_negotiation_error_count(props = nil) ⇒ AWSCDK::CloudWatch::Metric
The number of TLS connections initiated by the load balancer that did not establish a session with the target.
Class Method Details
.jsii_overridable_methods ⇒ Object
286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 |
# File 'elastic_load_balancingv2/i_application_load_balancer_metrics.rb', line 286 def self.jsii_overridable_methods { :active_connection_count => { kind: :method, name: "activeConnectionCount", is_optional: false }, :client_tls_negotiation_error_count => { kind: :method, name: "clientTlsNegotiationErrorCount", is_optional: false }, :consumed_lc_us => { kind: :method, name: "consumedLCUs", is_optional: false }, :custom => { kind: :method, name: "custom", is_optional: false }, :elb_auth_error => { kind: :method, name: "elbAuthError", is_optional: false }, :elb_auth_failure => { kind: :method, name: "elbAuthFailure", is_optional: false }, :elb_auth_latency => { kind: :method, name: "elbAuthLatency", is_optional: false }, :elb_auth_success => { kind: :method, name: "elbAuthSuccess", is_optional: false }, :http_code_elb => { kind: :method, name: "httpCodeElb", is_optional: false }, :http_code_target => { kind: :method, name: "httpCodeTarget", is_optional: false }, :http_fixed_response_count => { kind: :method, name: "httpFixedResponseCount", is_optional: false }, :http_redirect_count => { kind: :method, name: "httpRedirectCount", is_optional: false }, :http_redirect_url_limit_exceeded_count => { kind: :method, name: "httpRedirectUrlLimitExceededCount", is_optional: false }, :ipv6_processed_bytes => { kind: :method, name: "ipv6ProcessedBytes", is_optional: false }, :ipv6_request_count => { kind: :method, name: "ipv6RequestCount", is_optional: false }, :new_connection_count => { kind: :method, name: "newConnectionCount", is_optional: false }, :processed_bytes => { kind: :method, name: "processedBytes", is_optional: false }, :rejected_connection_count => { kind: :method, name: "rejectedConnectionCount", is_optional: false }, :request_count => { kind: :method, name: "requestCount", is_optional: false }, :rule_evaluations => { kind: :method, name: "ruleEvaluations", is_optional: false }, :target_connection_error_count => { kind: :method, name: "targetConnectionErrorCount", is_optional: false }, :target_response_time => { kind: :method, name: "targetResponseTime", is_optional: false }, :target_tls_negotiation_error_count => { kind: :method, name: "targetTLSNegotiationErrorCount", is_optional: false }, } end |
Instance Method Details
#active_connection_count(props = nil) ⇒ AWSCDK::CloudWatch::Metric
Default: Sum over 5 minutes
The total number of concurrent TCP connections active from clients to the load balancer and from the load balancer to targets.
12 13 14 15 16 |
# File 'elastic_load_balancingv2/i_application_load_balancer_metrics.rb', line 12 def active_connection_count(props = nil) props = props.is_a?(Hash) ? ::AWSCDK::CloudWatch::MetricOptions.new(**props.transform_keys(&:to_sym)) : props Jsii::Type.check_type(props, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY2xvdWR3YXRjaC5NZXRyaWNPcHRpb25zIn0=")), "props") unless props.nil? jsii_call_method("activeConnectionCount", [props]) end |
#client_tls_negotiation_error_count(props = nil) ⇒ AWSCDK::CloudWatch::Metric
Default: Sum over 5 minutes
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.
26 27 28 29 30 |
# File 'elastic_load_balancingv2/i_application_load_balancer_metrics.rb', line 26 def client_tls_negotiation_error_count(props = nil) props = props.is_a?(Hash) ? ::AWSCDK::CloudWatch::MetricOptions.new(**props.transform_keys(&:to_sym)) : props Jsii::Type.check_type(props, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY2xvdWR3YXRjaC5NZXRyaWNPcHRpb25zIn0=")), "props") unless props.nil? jsii_call_method("clientTlsNegotiationErrorCount", [props]) end |
#consumed_lc_us(props = nil) ⇒ AWSCDK::CloudWatch::Metric
Default: Sum over 5 minutes
The number of load balancer capacity units (LCU) used by your load balancer.
37 38 39 40 41 |
# File 'elastic_load_balancingv2/i_application_load_balancer_metrics.rb', line 37 def consumed_lc_us(props = nil) props = props.is_a?(Hash) ? ::AWSCDK::CloudWatch::MetricOptions.new(**props.transform_keys(&:to_sym)) : props Jsii::Type.check_type(props, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY2xvdWR3YXRjaC5NZXRyaWNPcHRpb25zIn0=")), "props") unless props.nil? jsii_call_method("consumedLCUs", [props]) end |
#custom(metric_name, props = nil) ⇒ AWSCDK::CloudWatch::Metric
Default: Average over 5 minutes
Return the given named metric for this Application Load Balancer.
49 50 51 52 53 54 |
# File 'elastic_load_balancingv2/i_application_load_balancer_metrics.rb', line 49 def custom(metric_name, props = nil) Jsii::Type.check_type(metric_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "metricName") props = props.is_a?(Hash) ? ::AWSCDK::CloudWatch::MetricOptions.new(**props.transform_keys(&:to_sym)) : props Jsii::Type.check_type(props, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY2xvdWR3YXRjaC5NZXRyaWNPcHRpb25zIn0=")), "props") unless props.nil? jsii_call_method("custom", [metric_name, props]) end |
#elb_auth_error(props = nil) ⇒ AWSCDK::CloudWatch::Metric
Default: Sum over 5 minutes
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.
65 66 67 68 69 |
# File 'elastic_load_balancingv2/i_application_load_balancer_metrics.rb', line 65 def elb_auth_error(props = nil) props = props.is_a?(Hash) ? ::AWSCDK::CloudWatch::MetricOptions.new(**props.transform_keys(&:to_sym)) : props Jsii::Type.check_type(props, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY2xvdWR3YXRjaC5NZXRyaWNPcHRpb25zIn0=")), "props") unless props.nil? jsii_call_method("elbAuthError", [props]) end |
#elb_auth_failure(props = nil) ⇒ AWSCDK::CloudWatch::Metric
Default: Sum over 5 minutes
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.
76 77 78 79 80 |
# File 'elastic_load_balancingv2/i_application_load_balancer_metrics.rb', line 76 def elb_auth_failure(props = nil) props = props.is_a?(Hash) ? ::AWSCDK::CloudWatch::MetricOptions.new(**props.transform_keys(&:to_sym)) : props Jsii::Type.check_type(props, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY2xvdWR3YXRjaC5NZXRyaWNPcHRpb25zIn0=")), "props") unless props.nil? jsii_call_method("elbAuthFailure", [props]) end |
#elb_auth_latency(props = nil) ⇒ AWSCDK::CloudWatch::Metric
Default: Average over 5 minutes
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.
89 90 91 92 93 |
# File 'elastic_load_balancingv2/i_application_load_balancer_metrics.rb', line 89 def elb_auth_latency(props = nil) props = props.is_a?(Hash) ? ::AWSCDK::CloudWatch::MetricOptions.new(**props.transform_keys(&:to_sym)) : props Jsii::Type.check_type(props, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY2xvdWR3YXRjaC5NZXRyaWNPcHRpb25zIn0=")), "props") unless props.nil? jsii_call_method("elbAuthLatency", [props]) end |
#elb_auth_success(props = nil) ⇒ AWSCDK::CloudWatch::Metric
Default: Sum over 5 minutes
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.
103 104 105 106 107 |
# File 'elastic_load_balancingv2/i_application_load_balancer_metrics.rb', line 103 def elb_auth_success(props = nil) props = props.is_a?(Hash) ? ::AWSCDK::CloudWatch::MetricOptions.new(**props.transform_keys(&:to_sym)) : props Jsii::Type.check_type(props, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY2xvdWR3YXRjaC5NZXRyaWNPcHRpb25zIn0=")), "props") unless props.nil? jsii_call_method("elbAuthSuccess", [props]) end |
#http_code_elb(code, props = nil) ⇒ AWSCDK::CloudWatch::Metric
Default: Sum over 5 minutes
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.
117 118 119 120 121 122 |
# File 'elastic_load_balancingv2/i_application_load_balancer_metrics.rb', line 117 def http_code_elb(code, props = nil) Jsii::Type.check_type(code, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZWxhc3RpY2xvYWRiYWxhbmNpbmd2Mi5IdHRwQ29kZUVsYiJ9")), "code") props = props.is_a?(Hash) ? ::AWSCDK::CloudWatch::MetricOptions.new(**props.transform_keys(&:to_sym)) : props Jsii::Type.check_type(props, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY2xvdWR3YXRjaC5NZXRyaWNPcHRpb25zIn0=")), "props") unless props.nil? jsii_call_method("httpCodeElb", [code, props]) end |
#http_code_target(code, props = nil) ⇒ AWSCDK::CloudWatch::Metric
Default: Sum over 5 minutes
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.
132 133 134 135 136 137 |
# File 'elastic_load_balancingv2/i_application_load_balancer_metrics.rb', line 132 def http_code_target(code, props = nil) Jsii::Type.check_type(code, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZWxhc3RpY2xvYWRiYWxhbmNpbmd2Mi5IdHRwQ29kZVRhcmdldCJ9")), "code") props = props.is_a?(Hash) ? ::AWSCDK::CloudWatch::MetricOptions.new(**props.transform_keys(&:to_sym)) : props Jsii::Type.check_type(props, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY2xvdWR3YXRjaC5NZXRyaWNPcHRpb25zIn0=")), "props") unless props.nil? jsii_call_method("httpCodeTarget", [code, props]) end |
#http_fixed_response_count(props = nil) ⇒ AWSCDK::CloudWatch::Metric
Default: Sum over 5 minutes
The number of fixed-response actions that were successful.
144 145 146 147 148 |
# File 'elastic_load_balancingv2/i_application_load_balancer_metrics.rb', line 144 def http_fixed_response_count(props = nil) props = props.is_a?(Hash) ? ::AWSCDK::CloudWatch::MetricOptions.new(**props.transform_keys(&:to_sym)) : props Jsii::Type.check_type(props, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY2xvdWR3YXRjaC5NZXRyaWNPcHRpb25zIn0=")), "props") unless props.nil? jsii_call_method("httpFixedResponseCount", [props]) end |
#http_redirect_count(props = nil) ⇒ AWSCDK::CloudWatch::Metric
Default: Sum over 5 minutes
The number of redirect actions that were successful.
155 156 157 158 159 |
# File 'elastic_load_balancingv2/i_application_load_balancer_metrics.rb', line 155 def http_redirect_count(props = nil) props = props.is_a?(Hash) ? ::AWSCDK::CloudWatch::MetricOptions.new(**props.transform_keys(&:to_sym)) : props Jsii::Type.check_type(props, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY2xvdWR3YXRjaC5NZXRyaWNPcHRpb25zIn0=")), "props") unless props.nil? jsii_call_method("httpRedirectCount", [props]) end |
#http_redirect_url_limit_exceeded_count(props = nil) ⇒ AWSCDK::CloudWatch::Metric
Default: Sum over 5 minutes
The number of redirect actions that couldn't be completed because the URL in the response location header is larger than 8K.
166 167 168 169 170 |
# File 'elastic_load_balancingv2/i_application_load_balancer_metrics.rb', line 166 def http_redirect_url_limit_exceeded_count(props = nil) props = props.is_a?(Hash) ? ::AWSCDK::CloudWatch::MetricOptions.new(**props.transform_keys(&:to_sym)) : props Jsii::Type.check_type(props, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY2xvdWR3YXRjaC5NZXRyaWNPcHRpb25zIn0=")), "props") unless props.nil? jsii_call_method("httpRedirectUrlLimitExceededCount", [props]) end |
#ipv6_processed_bytes(props = nil) ⇒ AWSCDK::CloudWatch::Metric
Default: Sum over 5 minutes
The total number of bytes processed by the load balancer over IPv6.
177 178 179 180 181 |
# File 'elastic_load_balancingv2/i_application_load_balancer_metrics.rb', line 177 def ipv6_processed_bytes(props = nil) props = props.is_a?(Hash) ? ::AWSCDK::CloudWatch::MetricOptions.new(**props.transform_keys(&:to_sym)) : props Jsii::Type.check_type(props, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY2xvdWR3YXRjaC5NZXRyaWNPcHRpb25zIn0=")), "props") unless props.nil? jsii_call_method("ipv6ProcessedBytes", [props]) end |
#ipv6_request_count(props = nil) ⇒ AWSCDK::CloudWatch::Metric
Default: Sum over 5 minutes
The number of IPv6 requests received by the load balancer.
188 189 190 191 192 |
# File 'elastic_load_balancingv2/i_application_load_balancer_metrics.rb', line 188 def ipv6_request_count(props = nil) props = props.is_a?(Hash) ? ::AWSCDK::CloudWatch::MetricOptions.new(**props.transform_keys(&:to_sym)) : props Jsii::Type.check_type(props, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY2xvdWR3YXRjaC5NZXRyaWNPcHRpb25zIn0=")), "props") unless props.nil? jsii_call_method("ipv6RequestCount", [props]) end |
#new_connection_count(props = nil) ⇒ AWSCDK::CloudWatch::Metric
Default: Sum over 5 minutes
The total number of new TCP connections established from clients to the load balancer and from the load balancer to targets.
199 200 201 202 203 |
# File 'elastic_load_balancingv2/i_application_load_balancer_metrics.rb', line 199 def new_connection_count(props = nil) props = props.is_a?(Hash) ? ::AWSCDK::CloudWatch::MetricOptions.new(**props.transform_keys(&:to_sym)) : props Jsii::Type.check_type(props, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY2xvdWR3YXRjaC5NZXRyaWNPcHRpb25zIn0=")), "props") unless props.nil? jsii_call_method("newConnectionCount", [props]) end |
#processed_bytes(props = nil) ⇒ AWSCDK::CloudWatch::Metric
Default: Sum over 5 minutes
The total number of bytes processed by the load balancer over IPv4 and IPv6.
210 211 212 213 214 |
# File 'elastic_load_balancingv2/i_application_load_balancer_metrics.rb', line 210 def processed_bytes(props = nil) props = props.is_a?(Hash) ? ::AWSCDK::CloudWatch::MetricOptions.new(**props.transform_keys(&:to_sym)) : props Jsii::Type.check_type(props, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY2xvdWR3YXRjaC5NZXRyaWNPcHRpb25zIn0=")), "props") unless props.nil? jsii_call_method("processedBytes", [props]) end |
#rejected_connection_count(props = nil) ⇒ AWSCDK::CloudWatch::Metric
Default: Sum over 5 minutes
The number of connections that were rejected because the load balancer had reached its maximum number of connections.
221 222 223 224 225 |
# File 'elastic_load_balancingv2/i_application_load_balancer_metrics.rb', line 221 def rejected_connection_count(props = nil) props = props.is_a?(Hash) ? ::AWSCDK::CloudWatch::MetricOptions.new(**props.transform_keys(&:to_sym)) : props Jsii::Type.check_type(props, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY2xvdWR3YXRjaC5NZXRyaWNPcHRpb25zIn0=")), "props") unless props.nil? jsii_call_method("rejectedConnectionCount", [props]) end |
#request_count(props = nil) ⇒ AWSCDK::CloudWatch::Metric
Default: Sum over 5 minutes
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.
234 235 236 237 238 |
# File 'elastic_load_balancingv2/i_application_load_balancer_metrics.rb', line 234 def request_count(props = nil) props = props.is_a?(Hash) ? ::AWSCDK::CloudWatch::MetricOptions.new(**props.transform_keys(&:to_sym)) : props Jsii::Type.check_type(props, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY2xvdWR3YXRjaC5NZXRyaWNPcHRpb25zIn0=")), "props") unless props.nil? jsii_call_method("requestCount", [props]) end |
#rule_evaluations(props = nil) ⇒ AWSCDK::CloudWatch::Metric
Default: Sum over 5 minutes
The number of rules processed by the load balancer given a request rate averaged over an hour.
245 246 247 248 249 |
# File 'elastic_load_balancingv2/i_application_load_balancer_metrics.rb', line 245 def rule_evaluations(props = nil) props = props.is_a?(Hash) ? ::AWSCDK::CloudWatch::MetricOptions.new(**props.transform_keys(&:to_sym)) : props Jsii::Type.check_type(props, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY2xvdWR3YXRjaC5NZXRyaWNPcHRpb25zIn0=")), "props") unless props.nil? jsii_call_method("ruleEvaluations", [props]) end |
#target_connection_error_count(props = nil) ⇒ AWSCDK::CloudWatch::Metric
Default: Sum over 5 minutes
The number of connections that were not successfully established between the load balancer and target.
256 257 258 259 260 |
# File 'elastic_load_balancingv2/i_application_load_balancer_metrics.rb', line 256 def target_connection_error_count(props = nil) props = props.is_a?(Hash) ? ::AWSCDK::CloudWatch::MetricOptions.new(**props.transform_keys(&:to_sym)) : props Jsii::Type.check_type(props, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY2xvdWR3YXRjaC5NZXRyaWNPcHRpb25zIn0=")), "props") unless props.nil? jsii_call_method("targetConnectionErrorCount", [props]) end |
#target_response_time(props = nil) ⇒ AWSCDK::CloudWatch::Metric
Default: Average over 5 minutes
The time elapsed, in seconds, after the request leaves the load balancer until a response from the target is received.
267 268 269 270 271 |
# File 'elastic_load_balancingv2/i_application_load_balancer_metrics.rb', line 267 def target_response_time(props = nil) props = props.is_a?(Hash) ? ::AWSCDK::CloudWatch::MetricOptions.new(**props.transform_keys(&:to_sym)) : props Jsii::Type.check_type(props, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY2xvdWR3YXRjaC5NZXRyaWNPcHRpb25zIn0=")), "props") unless props.nil? jsii_call_method("targetResponseTime", [props]) end |
#target_tls_negotiation_error_count(props = nil) ⇒ AWSCDK::CloudWatch::Metric
Default: Sum over 5 minutes
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.
280 281 282 283 284 |
# File 'elastic_load_balancingv2/i_application_load_balancer_metrics.rb', line 280 def target_tls_negotiation_error_count(props = nil) props = props.is_a?(Hash) ? ::AWSCDK::CloudWatch::MetricOptions.new(**props.transform_keys(&:to_sym)) : props Jsii::Type.check_type(props, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY2xvdWR3YXRjaC5NZXRyaWNPcHRpb25zIn0=")), "props") unless props.nil? jsii_call_method("targetTLSNegotiationErrorCount", [props]) end |