AclPortRange

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

Bases: object

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.

Attributes

from_

The first port in the range.

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

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.

Return type

Union[int, float, None]