Class CfnService.HealthCheckConfigProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnService.HealthCheckConfigProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnService.HealthCheckConfigProperty
CfnService.HealthCheckConfigProperty
-
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.servicediscovery.CfnService.HealthCheckConfigProperty
CfnService.HealthCheckConfigProperty.Builder, CfnService.HealthCheckConfigProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnService.HealthCheckConfigProperty.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 Number
The number of consecutive health checks that an endpoint must pass or fail for Route 53 to change the current status of the endpoint from unhealthy to healthy or the other way around.final String
The path that you want Route 53 to request when performing health checks.final String
getType()
The type of health check that you want to create, which indicates how Route 53 determines whether an endpoint is healthy.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 theCfnService.HealthCheckConfigProperty.Builder
.
-
-
Method Details
-
getType
Description copied from interface:CfnService.HealthCheckConfigProperty
The type of health check that you want to create, which indicates how Route 53 determines whether an endpoint is healthy.You can't change the value of
Type
after you create a health check.You can create the following types of health checks:
- HTTP : Route 53 tries to establish a TCP connection. If successful, Route 53 submits an HTTP request and waits for an HTTP status code of 200 or greater and less than 400.
- HTTPS : Route 53 tries to establish a TCP connection. If successful, Route 53 submits an HTTPS request and waits for an HTTP status code of 200 or greater and less than 400.
If you specify HTTPS for the value of
Type
, the endpoint must support TLS v1.0 or later.- TCP : Route 53 tries to establish a TCP connection.
If you specify
TCP
forType
, don't specify a value forResourcePath
.For more information, see How Route 53 Determines Whether an Endpoint Is Healthy in the Route 53 Developer Guide .
- Specified by:
getType
in interfaceCfnService.HealthCheckConfigProperty
- See Also:
-
getFailureThreshold
Description copied from interface:CfnService.HealthCheckConfigProperty
The number of consecutive health checks that an endpoint must pass or fail for Route 53 to change the current status of the endpoint from unhealthy to healthy or the other way around.For more information, see How Route 53 Determines Whether an Endpoint Is Healthy in the Route 53 Developer Guide .
- Specified by:
getFailureThreshold
in interfaceCfnService.HealthCheckConfigProperty
- See Also:
-
getResourcePath
Description copied from interface:CfnService.HealthCheckConfigProperty
The path that you want Route 53 to request when performing health checks.The path can be any value that your endpoint returns an HTTP status code of a 2xx or 3xx format for when the endpoint is healthy. An example file is
/docs/route53-health-check.html
. Route 53 automatically adds the DNS name for the service. If you don't specify a value forResourcePath
, the default value is/
.If you specify
TCP
forType
, you must not specify a value forResourcePath
.- Specified by:
getResourcePath
in interfaceCfnService.HealthCheckConfigProperty
- See Also:
-
$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()
-