Class HealthCheck.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.ecs.HealthCheck.Jsii$Proxy
- All Implemented Interfaces:
HealthCheck,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
HealthCheck
@Stability(Stable)
@Internal
public static final class HealthCheck.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements HealthCheck
An implementation for
HealthCheck-
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.ecs.HealthCheck
HealthCheck.Builder, HealthCheck.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(HealthCheck.Builder builder) Constructor that initializes the object based on literal property values passed by theHealthCheck.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 booleanA string array representing the command that the container runs to determine if it is healthy.final DurationThe time period in seconds between each health check execution.final NumberThe number of times to retry a failed health check before the container is considered unhealthy.final DurationThe optional grace period within which to provide containers time to bootstrap before failed health checks count towards the maximum number of retries.final DurationThe time period in seconds to wait for a health check to succeed before it is considered a failure.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 theHealthCheck.Builder.
-
-
Method Details
-
getCommand
Description copied from interface:HealthCheckA string array representing the command that the container runs to determine if it is healthy.The string array must start with CMD to execute the command arguments directly, or CMD-SHELL to run the command with the container's default shell.
For example: [ "CMD-SHELL", "curl -f http://localhost/ || exit 1" ]
- Specified by:
getCommandin interfaceHealthCheck
-
getInterval
Description copied from interface:HealthCheckThe time period in seconds between each health check execution.You may specify between 5 and 300 seconds.
Default: Duration.seconds(30)
- Specified by:
getIntervalin interfaceHealthCheck
-
getRetries
Description copied from interface:HealthCheckThe number of times to retry a failed health check before the container is considered unhealthy.You may specify between 1 and 10 retries.
Default: 3
- Specified by:
getRetriesin interfaceHealthCheck
-
getStartPeriod
Description copied from interface:HealthCheckThe optional grace period within which to provide containers time to bootstrap before failed health checks count towards the maximum number of retries.You may specify between 0 and 300 seconds.
Default: No start period
- Specified by:
getStartPeriodin interfaceHealthCheck
-
getTimeout
Description copied from interface:HealthCheckThe time period in seconds to wait for a health check to succeed before it is considered a failure.You may specify between 2 and 60 seconds.
Default: Duration.seconds(5)
- Specified by:
getTimeoutin interfaceHealthCheck
-
$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()
-