Class: Aws::AppMesh::Types::VirtualRouterSpec
- Inherits:
-
Struct
- Object
- Struct
- Aws::AppMesh::Types::VirtualRouterSpec
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-appmesh/types.rb
Overview
Note:
When making an API call, you may pass VirtualRouterSpec data as a hash:
{
listeners: [
{
port_mapping: { # required
port: 1, # required
protocol: "http", # required, accepts http, tcp
},
},
],
}
An object representing the specification of a virtual router.
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. Currently only one listener is supported per virtual router.
1708 1709 1710 1711 |
# File 'lib/aws-sdk-appmesh/types.rb', line 1708 class VirtualRouterSpec < Struct.new( :listeners) include Aws::Structure end |