Class: Aws::AppMesh::Types::Listener
- Inherits:
-
Struct
- Object
- Struct
- Aws::AppMesh::Types::Listener
- 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
-
#health_check ⇒ Types::HealthCheckPolicy
The health check information for the listener.
-
#port_mapping ⇒ Types::PortMapping
The port mapping information for the listener.
Instance Attribute Details
#health_check ⇒ Types::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_mapping ⇒ Types::PortMapping
The port mapping 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 |