class Aws::Lightsail::Types::EndpointRequest

Describes the settings of a public endpoint for an Amazon Lightsail container service.

@note When making an API call, you may pass EndpointRequest

data as a hash:

    {
      container_name: "string", # required
      container_port: 1, # required
      health_check: {
        healthy_threshold: 1,
        unhealthy_threshold: 1,
        timeout_seconds: 1,
        interval_seconds: 1,
        path: "string",
        success_codes: "string",
      },
    }

@!attribute [rw] container_name

The name of the container for the endpoint.
@return [String]

@!attribute [rw] container_port

The port of the container to which traffic is forwarded to.
@return [Integer]

@!attribute [rw] health_check

An object that describes the health check configuration of the
container.
@return [Types::ContainerServiceHealthCheckConfig]

@see docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/EndpointRequest AWS API Documentation

Constants

SENSITIVE