class Aws::NetworkFirewall::Types::PortRange

A single port range specification. This is used for source and destination port ranges in the stateless rule MatchAttributes, `SourcePorts`, and `DestinationPorts` settings.

@note When making an API call, you may pass PortRange

data as a hash:

    {
      from_port: 1, # required
      to_port: 1, # required
    }

@!attribute [rw] from_port

The lower limit of the port range. This must be less than or equal
to the `ToPort` specification.
@return [Integer]

@!attribute [rw] to_port

The upper limit of the port range. This must be greater than or
equal to the `FromPort` specification.
@return [Integer]

@see docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/PortRange AWS API Documentation

Constants

SENSITIVE