NetworkListenerProps¶
-
class
aws_cdk.aws_ecs_patterns.
NetworkListenerProps
(*, name, port=None)¶ Bases:
object
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
Attributes
-
name
¶ Name of the listener.
- Return type
str
-
port
¶ The port on which the listener listens for requests.
- Default
80
- Return type
Union
[int
,float
,None
]