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

Class: Aws::Lightsail::Types::EndpointRequest

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

Overview

Note:

When passing EndpointRequest as input to an Aws::Client method, you can use a vanilla 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",
  },
}

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

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#container_nameString

The name of the container for the endpoint.

Returns:

  • (String)

    The name of the container for the endpoint.

#container_portInteger

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

Returns:

  • (Integer)

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

#health_checkTypes::ContainerServiceHealthCheckConfig

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

Returns: