VirtualRouterListenerConfig

class aws_cdk.aws_appmesh.VirtualRouterListenerConfig(*, listener)

Bases: object

Properties for a VirtualRouter listener.

Parameters:

listener (Union[VirtualRouterListenerProperty, Dict[str, Any]]) – Single listener config for a VirtualRouter.

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import 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.