You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Lightsail::Types::ContainerServiceHealthCheckConfig

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing ContainerServiceHealthCheckConfig as input to an Aws::Client method, you can use a vanilla Hash:

{
  healthy_threshold: 1,
  unhealthy_threshold: 1,
  timeout_seconds: 1,
  interval_seconds: 1,
  path: "string",
  success_codes: "string",
}

Describes the health check configuration of an Amazon Lightsail container service.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#healthy_thresholdInteger

The number of consecutive health checks successes required before moving the container to the Healthy state.

Returns:

  • (Integer)

    The number of consecutive health checks successes required before moving the container to the Healthy state.

#interval_secondsInteger

The approximate interval, in seconds, between health checks of an individual container. You may specify between 5 and 300 seconds.

Returns:

  • (Integer)

    The approximate interval, in seconds, between health checks of an individual container.

#pathString

The path on the container on which to perform the health check.

Returns:

  • (String)

    The path on the container on which to perform the health check.

#success_codesString

The HTTP codes to use when checking for a successful response from a container. You can specify values between 200 and 499.

Returns:

  • (String)

    The HTTP codes to use when checking for a successful response from a container.

#timeout_secondsInteger

The amount of time, in seconds, during which no response means a failed health check. You may specify between 2 and 60 seconds.

Returns:

  • (Integer)

    The amount of time, in seconds, during which no response means a failed health check.

#unhealthy_thresholdInteger

The number of consecutive health check failures required before moving the container to the Unhealthy state.

Returns:

  • (Integer)

    The number of consecutive health check failures required before moving the container to the Unhealthy state.