toPort property
The last port in a range of open ports on an instance.
Allowed ports:
-
TCP and UDP -
0
to65535
-
ICMP - The ICMP code. For example, specify
8
as thefromPort
(ICMP type), and-1
as thetoPort
(ICMP code), to enable ICMP Ping. For more information, see Control Messages on Wikipedia.
Implementation
final int? toPort;