PortRange

class aws_cdk.aws_globalaccelerator.PortRange(*, from_port, to_port=None)

Bases: object

The list of port ranges for the connections from clients to the accelerator.

Parameters
  • from_port (Union[int, float]) – The first port in the range of ports, inclusive.

  • to_port (Union[int, float, None]) – The last port in the range of ports, inclusive. Default: - same as fromPort

Attributes

from_port

The first port in the range of ports, inclusive.

Return type

Union[int, float]

to_port

The last port in the range of ports, inclusive.

Default
  • same as fromPort

Return type

Union[int, float, None]