Skip to content

GatewayConnectorHealthCheck

Source code in docs_src/capo_ecs/types/gateway_connector_health_check.py
class GatewayConnectorHealthCheck(TypedDict, closed=True):
    health_check_protocol: NotRequired[
        "capo_ecs.types.gateway_connector_health_check_protocol.GatewayConnectorHealthCheckProtocol"
    ]
    """<p>The protocol that the gateway uses to perform health checks.</p> <p>Valid values:</p> <ul> <li> <p> <code>HTTP</code> - Health checks are performed over HTTP.</p> </li> <li> <p> <code>HTTPS</code> - Health checks are performed over HTTPS.</p> </li> </ul>"""
    health_check_port: NotRequired["capo_ecs.types.boxed_integer.BoxedInteger"]
    """<p>The port that the gateway uses to perform health checks on the targets.</p>"""
    health_check_path: NotRequired["capo_ecs.types.string.String"]
    """<p>The destination path for health check requests.</p>"""
    health_check_timeout_seconds: NotRequired[
        "capo_ecs.types.boxed_integer.BoxedInteger"
    ]
    """<p>The amount of time, in seconds, during which no response from a target means a failed health check.</p>"""
    health_check_interval_seconds: NotRequired[
        "capo_ecs.types.boxed_integer.BoxedInteger"
    ]
    """<p>The approximate amount of time, in seconds, between health checks of an individual target.</p>"""
    healthy_threshold_count: NotRequired["capo_ecs.types.boxed_integer.BoxedInteger"]
    """<p>The number of consecutive successful health checks that a target must pass before the gateway considers it healthy.</p>"""
    unhealthy_threshold_count: NotRequired["capo_ecs.types.boxed_integer.BoxedInteger"]
    """<p>The number of consecutive failed health checks that a target must fail before the gateway considers it unhealthy.</p>"""
    matcher: NotRequired[
        "capo_ecs.types.gateway_connector_health_check_matcher.GatewayConnectorHealthCheckMatcher"
    ]
    """<p>The HTTP or gRPC codes that indicate a successful health check response from a target.</p>"""

health_check_interval_seconds instance-attribute

health_check_interval_seconds: NotRequired[BoxedInteger]

The approximate amount of time, in seconds, between health checks of an individual target.

health_check_path instance-attribute

health_check_path: NotRequired[String]

The destination path for health check requests.

health_check_port instance-attribute

health_check_port: NotRequired[BoxedInteger]

The port that the gateway uses to perform health checks on the targets.

health_check_protocol instance-attribute

health_check_protocol: NotRequired[GatewayConnectorHealthCheckProtocol]

The protocol that the gateway uses to perform health checks.

Valid values:

  • HTTP - Health checks are performed over HTTP.

  • HTTPS - Health checks are performed over HTTPS.

health_check_timeout_seconds instance-attribute

health_check_timeout_seconds: NotRequired[BoxedInteger]

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

healthy_threshold_count instance-attribute

healthy_threshold_count: NotRequired[BoxedInteger]

The number of consecutive successful health checks that a target must pass before the gateway considers it healthy.

matcher instance-attribute

matcher: NotRequired[GatewayConnectorHealthCheckMatcher]

The HTTP or gRPC codes that indicate a successful health check response from a target.

unhealthy_threshold_count instance-attribute

unhealthy_threshold_count: NotRequired[BoxedInteger]

The number of consecutive failed health checks that a target must fail before the gateway considers it unhealthy.