ContainerArgs

data class ContainerArgs(val command: Output<List<String>>? = null, val containerName: Output<String>? = null, val environment: Output<List<ContainerEnvironmentVariableArgs>>? = null, val image: Output<String>? = null, val ports: Output<List<ContainerPortInfoArgs>>? = null) : ConvertibleToJava<ContainerArgs>

Describes the settings of a container that will be launched, or that is launched, to an Amazon Lightsail container service.

Constructors

Link copied to clipboard
constructor(command: Output<List<String>>? = null, containerName: Output<String>? = null, environment: Output<List<ContainerEnvironmentVariableArgs>>? = null, image: Output<String>? = null, ports: Output<List<ContainerPortInfoArgs>>? = null)

Properties

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

The launch command for the container.

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

The name of the container.

Link copied to clipboard

The environment variables of the container.

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

The name of the image used for the container.

Link copied to clipboard
val ports: Output<List<ContainerPortInfoArgs>>? = null

The open firewall ports of the container.

Functions

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