PortInfo

class PortInfo

Describes ports to open on an instance, the IP addresses allowed to connect to the instance through the ports, and the protocol.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

An alias that defines access for a preconfigured range of IP addresses.

Link copied to clipboard

The IPv4 address, or range of IPv4 addresses (in CIDR notation) that are allowed to connect to an instance through the ports, and the protocol.

Link copied to clipboard

The first port in a range of open ports on an instance.

Link copied to clipboard

The IPv6 address, or range of IPv6 addresses (in CIDR notation) that are allowed to connect to an instance through the ports, and the protocol. Only devices with an IPv6 address can connect to an instance through IPv6; otherwise, IPv4 should be used.

Link copied to clipboard

The IP protocol name.

Link copied to clipboard
val toPort: Int

The last port in a range of open ports on an instance.

Functions

Link copied to clipboard
inline fun copy(block: PortInfo.Builder.() -> Unit = {}): PortInfo
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String