You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::AppMesh::Types::VirtualRouterSpec
- Inherits:
-
Struct
- Object
- Struct
- Aws::AppMesh::Types::VirtualRouterSpec
- Defined in:
- (unknown)
Overview
Note:
When passing VirtualRouterSpec as input to an Aws::Client method, you can use a vanilla Hash:
{
listeners: [
{
port_mapping: { # required
port: 1, # required
protocol: "http", # required, accepts http, tcp, http2, grpc
},
},
],
}
An object that represents the specification of a virtual router.
Returned by:
Instance Attribute Summary collapse
-
#listeners ⇒ Array<Types::VirtualRouterListener>
The listeners that the virtual router is expected to receive inbound traffic from.
Instance Attribute Details
#listeners ⇒ Array<Types::VirtualRouterListener>
The listeners that the virtual router is expected to receive inbound traffic from. You can specify one listener.