Class CfnLoadBalancer.HealthCheckProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnLoadBalancer.HealthCheckProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnLoadBalancer.HealthCheckProperty
CfnLoadBalancer.HealthCheckProperty-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.elasticloadbalancing.CfnLoadBalancer.HealthCheckProperty
CfnLoadBalancer.HealthCheckProperty.Builder, CfnLoadBalancer.HealthCheckProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnLoadBalancer.HealthCheckProperty.Builder.protectedJsii$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.JsonNodefinal booleanfinal StringThe number of consecutive health checks successes required before moving the instance to theHealthystate.final StringThe approximate interval, in seconds, between health checks of an individual instance.final StringThe instance being checked.final StringThe amount of time, in seconds, during which no response means a failed health check.final StringThe number of consecutive health check failures required before moving the instance to theUnhealthystate.final inthashCode()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 theCfnLoadBalancer.HealthCheckProperty.Builder.
-
-
Method Details
-
getHealthyThreshold
Description copied from interface:CfnLoadBalancer.HealthCheckPropertyThe number of consecutive health checks successes required before moving the instance to theHealthystate.- Specified by:
getHealthyThresholdin interfaceCfnLoadBalancer.HealthCheckProperty- See Also:
-
getInterval
Description copied from interface:CfnLoadBalancer.HealthCheckPropertyThe approximate interval, in seconds, between health checks of an individual instance.- Specified by:
getIntervalin interfaceCfnLoadBalancer.HealthCheckProperty- See Also:
-
getTarget
Description copied from interface:CfnLoadBalancer.HealthCheckPropertyThe instance being checked.The protocol is either TCP, HTTP, HTTPS, or SSL. The range of valid ports is one (1) through 65535.
TCP is the default, specified as a TCP: port pair, for example "TCP:5000". In this case, a health check simply attempts to open a TCP connection to the instance on the specified port. Failure to connect within the configured timeout is considered unhealthy.
SSL is also specified as SSL: port pair, for example, SSL:5000.
For HTTP/HTTPS, you must include a ping path in the string. HTTP is specified as a HTTP:port;/;PathToPing; grouping, for example "HTTP:80/weather/us/wa/seattle". In this case, a HTTP GET request is issued to the instance on the given port and path. Any answer other than "200 OK" within the timeout period is considered unhealthy.
The total length of the HTTP ping target must be 1024 16-bit Unicode characters or less.
- Specified by:
getTargetin interfaceCfnLoadBalancer.HealthCheckProperty- See Also:
-
getTimeout
Description copied from interface:CfnLoadBalancer.HealthCheckPropertyThe amount of time, in seconds, during which no response means a failed health check.This value must be less than the
Intervalvalue.- Specified by:
getTimeoutin interfaceCfnLoadBalancer.HealthCheckProperty- See Also:
-
getUnhealthyThreshold
Description copied from interface:CfnLoadBalancer.HealthCheckPropertyThe number of consecutive health check failures required before moving the instance to theUnhealthystate.- Specified by:
getUnhealthyThresholdin interfaceCfnLoadBalancer.HealthCheckProperty- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-