VirtualRouterListenerConfig

class aws_cdk.aws_appmesh.VirtualRouterListenerConfig(*, listener)

Bases: object

Properties for a VirtualRouter listener.

Parameters

listener (VirtualRouterListenerProperty) – Single listener config for a VirtualRouter.

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_appmesh as appmesh

virtual_router_listener_config = appmesh.VirtualRouterListenerConfig(
    listener=appmesh.CfnVirtualRouter.VirtualRouterListenerProperty(
        port_mapping=appmesh.CfnVirtualRouter.PortMappingProperty(
            port=123,
            protocol="protocol"
        )
    )
)

Attributes

listener

Single listener config for a VirtualRouter.

Return type

VirtualRouterListenerProperty