ContainerServiceDeploymentVersionContainerArgs

data class ContainerServiceDeploymentVersionContainerArgs(val commands: Output<List<String>>? = null, val containerName: Output<String>, val environment: Output<Map<String, String>>? = null, val image: Output<String>, val ports: Output<Map<String, String>>? = null) : ConvertibleToJava<ContainerServiceDeploymentVersionContainerArgs>

Constructors

constructor(commands: Output<List<String>>? = null, containerName: Output<String>, environment: Output<Map<String, String>>? = null, image: Output<String>, ports: Output<Map<String, String>>? = null)

Properties

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

The launch command for the container. A list of string.

Link copied to clipboard
val containerName: Output<String>

The name for the container.

Link copied to clipboard
val environment: Output<Map<String, String>>? = null

A key-value map of the environment variables of the container.

Link copied to clipboard
val image: Output<String>

The name of the image used for the container. Container images sourced from your Lightsail container service, that are registered and stored on your service, start with a colon (:). For example, :container-service-1.mystaticwebsite.1. Container images sourced from a public registry like Docker Hub don't start with a colon. For example, nginx:latest or nginx.

Link copied to clipboard
val ports: Output<Map<String, String>>? = null

A key-value map of the open firewall ports of the container. Valid values: HTTP, HTTPS, TCP, UDP.

Functions

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