ContainerPortArgs

data class ContainerPortArgs(val port: Output<Int>, val protocol: Output<Either<String, ContainerNetworkProtocol>>? = null) : ConvertibleToJava<ContainerPortArgs>

The port exposed on the container instance.

Constructors

Link copied to clipboard
constructor(port: Output<Int>, protocol: Output<Either<String, ContainerNetworkProtocol>>? = null)

Properties

Link copied to clipboard
val port: Output<Int>

The port number exposed within the container group.

Link copied to clipboard
val protocol: Output<Either<String, ContainerNetworkProtocol>>? = null

The protocol associated with the port.

Functions

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