You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::EC2::Types::PortRange
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::PortRange
- Defined in:
- (unknown)
Overview
Note:
When passing PortRange as input to an Aws::Client method, you can use a vanilla Hash:
{
from: 1,
to: 1,
}
Describes a range of ports.
Returned by:
Instance Attribute Summary collapse
-
#from ⇒ Integer
The first port in the range.
-
#to ⇒ Integer
The last port in the range.
Instance Attribute Details
#from ⇒ Integer
The first port in the range.
#to ⇒ Integer
The last port in the range.