AclPortRange

class aws_cdk.aws_ec2.AclPortRange(*, from_=None, to=None)

Bases: object

__init__(*, from_=None, to=None)

Properties to create PortRange.

Parameters
  • from – The first port in the range. Required if you specify 6 (TCP) or 17 (UDP) for the protocol parameter.

  • to (Union[int, float, None]) – The last port in the range. Required if you specify 6 (TCP) or 17 (UDP) for the protocol parameter.

stability :stability: experimental

Attributes

from_

The first port in the range.

Required if you specify 6 (TCP) or 17 (UDP) for the protocol parameter.

stability :stability: experimental

Return type

Union[int, float, None]

to

The last port in the range.

Required if you specify 6 (TCP) or 17 (UDP) for the protocol parameter.

stability :stability: experimental

Return type

Union[int, float, None]