NetworkListenerProps

class aws_cdk.aws_ecs_patterns.NetworkListenerProps(*, name, port=None)

Bases: object

__init__(*, name, port=None)

Properties to define an network listener.

Parameters
  • name (str) – Name of the listener.

  • port (Union[int, float, None]) – The port on which the listener listens for requests. Default: 80

Return type

None

Attributes

name

Name of the listener.

Return type

str

port

The port on which the listener listens for requests.

default :default: 80

Return type

Union[int, float, None]