Class: Aws::AppMesh::Types::Listener

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-appmesh/types.rb

Overview

Note:

When making an API call, you may pass Listener data as a hash:

{
  health_check: {
    healthy_threshold: 1, # required
    interval_millis: 1, # required
    path: "String",
    port: 1,
    protocol: "grpc", # required, accepts grpc, http, http2, tcp
    timeout_millis: 1, # required
    unhealthy_threshold: 1, # required
  },
  port_mapping: { # required
    port: 1, # required
    protocol: "grpc", # required, accepts grpc, http, http2, tcp
  },
}

An object that represents a listener for a virtual node.

Instance Attribute Summary collapse

Instance Attribute Details

#health_checkTypes::HealthCheckPolicy

The health check information for the listener.



2366
2367
2368
2369
2370
# File 'lib/aws-sdk-appmesh/types.rb', line 2366

class Listener < Struct.new(
  :health_check,
  :port_mapping)
  include Aws::Structure
end

#port_mappingTypes::PortMapping

The port mapping information for the listener.

Returns:



2366
2367
2368
2369
2370
# File 'lib/aws-sdk-appmesh/types.rb', line 2366

class Listener < Struct.new(
  :health_check,
  :port_mapping)
  include Aws::Structure
end