InstancePortArgs

data class InstancePortArgs(val accessDirection: Output<String>? = null, val accessFrom: Output<String>? = null, val accessType: Output<String>? = null, val cidrListAliases: Output<List<String>>? = null, val cidrs: Output<List<String>>? = null, val commonName: Output<String>? = null, val fromPort: Output<Int>? = null, val ipv6Cidrs: Output<List<String>>? = null, val protocol: Output<String>? = null, val toPort: Output<Int>? = null) : ConvertibleToJava<InstancePortArgs>

Port of the Instance.

Constructors

Link copied to clipboard
constructor(accessDirection: Output<String>? = null, accessFrom: Output<String>? = null, accessType: Output<String>? = null, cidrListAliases: Output<List<String>>? = null, cidrs: Output<List<String>>? = null, commonName: Output<String>? = null, fromPort: Output<Int>? = null, ipv6Cidrs: Output<List<String>>? = null, protocol: Output<String>? = null, toPort: Output<Int>? = null)

Properties

Link copied to clipboard
val accessDirection: Output<String>? = null

Access Direction for Protocol of the Instance(inbound/outbound).

Link copied to clipboard
val accessFrom: Output<String>? = null

Access From Protocol of the Instance.

Link copied to clipboard
val accessType: Output<String>? = null

Access Type Protocol of the Instance.

Link copied to clipboard
val cidrListAliases: Output<List<String>>? = null

An alias that defines access for a preconfigured range of IP addresses. The only alias currently supported is lightsail-connect , which allows IP addresses of the browser-based RDP/SSH client in the Lightsail console to connect to your instance.

Link copied to clipboard
val cidrs: Output<List<String>>? = null

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
val commonName: Output<String>? = null

CommonName for Protocol of the Instance.

Link copied to clipboard
val fromPort: Output<Int>? = null

From Port of the Instance.

Link copied to clipboard
val ipv6Cidrs: Output<List<String>>? = null

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
val protocol: Output<String>? = null

Port Protocol of the Instance.

Link copied to clipboard
val toPort: Output<Int>? = null

To Port of the Instance.

Functions

Link copied to clipboard
open override fun toJava(): InstancePortArgs