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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb

Overview

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",
  },
}

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#container_nameString

The name of the container for the endpoint.

Returns:

  • (String)


6562
6563
6564
6565
6566
6567
6568
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 6562

class EndpointRequest < Struct.new(
  :container_name,
  :container_port,
  :health_check)
  SENSITIVE = []
  include Aws::Structure
end

#container_portInteger

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

Returns:

  • (Integer)


6562
6563
6564
6565
6566
6567
6568
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 6562

class EndpointRequest < Struct.new(
  :container_name,
  :container_port,
  :health_check)
  SENSITIVE = []
  include Aws::Structure
end

#health_checkTypes::ContainerServiceHealthCheckConfig

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



6562
6563
6564
6565
6566
6567
6568
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 6562

class EndpointRequest < Struct.new(
  :container_name,
  :container_port,
  :health_check)
  SENSITIVE = []
  include Aws::Structure
end