Class: Aws::EC2::Types::PortRange
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::PortRange
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-ec2/types.rb
Overview
Note:
When making an API call, you may pass PortRange data as a hash:
{
from: 1,
to: 1,
}
Describes a range of ports.
Instance Attribute Summary collapse
-
#from ⇒ Integer
The first port in the range.
-
#to ⇒ Integer
The last port in the range.