AclPortRange

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

Bases: object

(experimental) Properties to create PortRange.

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

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

Stability

experimental

Attributes

from_

(experimental) The first port in the range.

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

Stability

experimental

Return type

Union[int, float, None]

to

(experimental) The last port in the range.

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

Stability

experimental

Return type

Union[int, float, None]