ContainerServiceDeploymentVersionContainer

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

Constructors

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

Types

Link copied to clipboard
object Companion

Properties

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

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

Link copied to clipboard

The name for the container.

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

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

Link copied to clipboard

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: Map<String, String>? = null

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