Class HealthCheck.Jsii$Proxy
- All Implemented Interfaces:
HealthCheck
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- HealthCheck
HealthCheck
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.elasticloadbalancingv2.HealthCheck
HealthCheck.Builder, HealthCheck.Jsii$Proxy
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Jsii$Proxy
(HealthCheck.Builder builder) Constructor that initializes the object based on literal property values passed by theHealthCheck.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final Boolean
Indicates whether health checks are enabled.final String
GRPC code to use when checking for a successful response from a target.final String
HTTP code to use when checking for a successful response from a target.final Number
The number of consecutive health checks successes required before considering an unhealthy target healthy.final Duration
The approximate number of seconds between health checks for an individual target.final String
getPath()
The ping path destination where Elastic Load Balancing sends health check requests.final String
getPort()
The port that the load balancer uses when performing health checks on the targets.final Protocol
The protocol the load balancer uses when performing health checks on targets.final Duration
The amount of time, in seconds, during which no response from a target means a failed health check.final Number
The number of consecutive health check failures required before considering a target unhealthy.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theHealthCheck.Builder
.
-
-
Method Details
-
getEnabled
Description copied from interface:HealthCheck
Indicates whether health checks are enabled.If the target type is lambda, health checks are disabled by default but can be enabled. If the target type is instance or ip, health checks are always enabled and cannot be disabled.
Default: - Determined automatically.
- Specified by:
getEnabled
in interfaceHealthCheck
-
getHealthyGrpcCodes
Description copied from interface:HealthCheck
GRPC code to use when checking for a successful response from a target.You can specify values between 0 and 99. You can specify multiple values (for example, "0,1") or a range of values (for example, "0-5").
Default: - 12
- Specified by:
getHealthyGrpcCodes
in interfaceHealthCheck
-
getHealthyHttpCodes
Description copied from interface:HealthCheck
HTTP code to use when checking for a successful response from a target.For Application Load Balancers, you can specify values between 200 and 499, and the default value is 200. You can specify multiple values (for example, "200,202") or a range of values (for example, "200-299").
- Specified by:
getHealthyHttpCodes
in interfaceHealthCheck
-
getHealthyThresholdCount
Description copied from interface:HealthCheck
The number of consecutive health checks successes required before considering an unhealthy target healthy.For Application Load Balancers, the default is 5. For Network Load Balancers, the default is 3.
Default: 5 for ALBs, 3 for NLBs
- Specified by:
getHealthyThresholdCount
in interfaceHealthCheck
-
getInterval
Description copied from interface:HealthCheck
The approximate number of seconds between health checks for an individual target.Default: Duration.seconds(30)
- Specified by:
getInterval
in interfaceHealthCheck
-
getPath
Description copied from interface:HealthCheck
The ping path destination where Elastic Load Balancing sends health check requests.Default: /
- Specified by:
getPath
in interfaceHealthCheck
-
getPort
Description copied from interface:HealthCheck
The port that the load balancer uses when performing health checks on the targets.Default: 'traffic-port'
- Specified by:
getPort
in interfaceHealthCheck
-
getProtocol
Description copied from interface:HealthCheck
The protocol the load balancer uses when performing health checks on targets.The TCP protocol is supported for health checks only if the protocol of the target group is TCP, TLS, UDP, or TCP_UDP. The TLS, UDP, and TCP_UDP protocols are not supported for health checks.
Default: HTTP for ALBs, TCP for NLBs
- Specified by:
getProtocol
in interfaceHealthCheck
-
getTimeout
Description copied from interface:HealthCheck
The amount of time, in seconds, during which no response from a target means a failed health check.For Application Load Balancers, the range is 2-60 seconds and the default is 5 seconds. For Network Load Balancers, this is 10 seconds for TCP and HTTPS health checks and 6 seconds for HTTP health checks.
Default: Duration.seconds(5) for ALBs, Duration.seconds(10) or Duration.seconds(6) for NLBs
- Specified by:
getTimeout
in interfaceHealthCheck
-
getUnhealthyThresholdCount
Description copied from interface:HealthCheck
The number of consecutive health check failures required before considering a target unhealthy.For Application Load Balancers, the default is 2. For Network Load Balancers, this value must be the same as the healthy threshold count.
Default: 2
- Specified by:
getUnhealthyThresholdCount
in interfaceHealthCheck
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-