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: "grpc", # required, accepts grpc, http, http2, tcp
},
},
],
}
An object that represents 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. You can specify one listener.
1841 1842 1843 1844 |
# File 'lib/aws-sdk-appmesh/types.rb', line 1841 class VirtualRouterSpec < Struct.new( :listeners) include Aws::Structure end |