VirtualRouterBaseProps
- class aws_cdk.aws_appmesh.VirtualRouterBaseProps(*, listeners=None, virtual_router_name=None)
Bases:
object
Interface with base properties all routers willl inherit.
- Parameters:
listeners (
Optional
[Sequence
[VirtualRouterListener
]]) – Listener specification for the VirtualRouter. Default: - A listener on HTTP port 8080virtual_router_name (
Optional
[str
]) – The name of the VirtualRouter. Default: - A name is automatically determined
- ExampleMetadata:
infused
Example:
# mesh: appmesh.Mesh router = mesh.add_virtual_router("router", listeners=[appmesh.VirtualRouterListener.http(8080)] )
Attributes
- listeners
Listener specification for the VirtualRouter.
- Default:
A listener on HTTP port 8080
- virtual_router_name
The name of the VirtualRouter.
- Default:
A name is automatically determined