ipProtocol property
The IP protocol name (tcp
, udp
, icmp
,
icmpv6
) or number.
VPC only
Use -1
to specify all protocols.
When authorizing security group rules, specifying -1 or a protocol number
other than tcp
, udp
, icmp
, or
icmpv6
allows traffic on all ports, regardless of any port
range you specify.
For tcp
, udp
, and icmp
, you must
specify a port range.
For icmpv6
, the port range is optional. If you omit the port
range, traffic for all types and codes is allowed.
Implementation
final String? ipProtocol;