Package | Description |
---|---|
com.amazonaws.services.ecs.model |
Modifier and Type | Method and Description |
---|---|
HealthCheck |
HealthCheck.clone() |
HealthCheck |
ContainerDefinition.getHealthCheck()
The container health check command and associated configuration parameters for the container.
|
HealthCheck |
HealthCheck.withCommand(Collection<String> command)
A string array representing the command that the container runs to determine if it is healthy.
|
HealthCheck |
HealthCheck.withCommand(String... command)
A string array representing the command that the container runs to determine if it is healthy.
|
HealthCheck |
HealthCheck.withInterval(Integer interval)
The time period in seconds between each health check execution.
|
HealthCheck |
HealthCheck.withRetries(Integer retries)
The number of times to retry a failed health check before the container is considered unhealthy.
|
HealthCheck |
HealthCheck.withStartPeriod(Integer startPeriod)
The optional grace period to provide containers time to bootstrap before failed health checks count towards the
maximum number of retries.
|
HealthCheck |
HealthCheck.withTimeout(Integer timeout)
The time period in seconds to wait for a health check to succeed before it is considered a failure.
|
Modifier and Type | Method and Description |
---|---|
void |
ContainerDefinition.setHealthCheck(HealthCheck healthCheck)
The container health check command and associated configuration parameters for the container.
|
ContainerDefinition |
ContainerDefinition.withHealthCheck(HealthCheck healthCheck)
The container health check command and associated configuration parameters for the container.
|
Copyright © 2021. All rights reserved.