Skip to content

EndpointRequest

Source code in docs_src/capo_lightsail/types/endpoint_request.py
class EndpointRequest(TypedDict, closed=True):
    container_name: "capo_lightsail.types.string.string"
    """<p>The name of the container for the endpoint.</p>"""
    container_port: "capo_lightsail.types.integer.integer"
    """<p>The port of the container to which traffic is forwarded to.</p>"""
    health_check: NotRequired[
        "capo_lightsail.types.container_service_health_check_config.ContainerServiceHealthCheckConfig"
    ]
    """<p>An object that describes the health check configuration of the container.</p>"""

container_name instance-attribute

container_name: string

The name of the container for the endpoint.

container_port instance-attribute

container_port: integer

The port of the container to which traffic is forwarded to.

health_check instance-attribute

health_check: NotRequired[ContainerServiceHealthCheckConfig]

An object that describes the health check configuration of the container.