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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-appmesh/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: "http", # required, accepts http, tcp
    timeout_millis: 1, # required
    unhealthy_threshold: 1, # required
  },
  port_mapping: { # required
    port: 1, # required
    protocol: "http", # required, accepts http, tcp
  },
}

An object representing a listener for a virtual node.

Instance Attribute Summary collapse

Instance Attribute Details

#health_checkTypes::HealthCheckPolicy

The health check information for the listener.



2236
2237
2238
2239
2240
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 2236

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

#port_mappingTypes::PortMapping

The port mapping information for the listener.

Returns:



2236
2237
2238
2239
2240
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 2236

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