toPort

@JvmName(name = "fsatnnocmtqtfbyb")
suspend fun toPort(value: Output<Int>)
@JvmName(name = "mdvbbmvdqunqaawc")
suspend fun toPort(value: Int?)

Parameters

value

The end of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code. A value of -1 indicates all ICMP/ICMPv6 codes for the specified ICMP type. If you specify all ICMP/ICMPv6 types, you must specify all codes. Use this for ICMP and any protocol that uses ports.