DaemonContainerDefinition

A container definition for a daemon task. Daemon container definitions describe the containers that run as part of a daemon task on container instances managed by capacity providers.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The command that's passed to the container.

Link copied to clipboard
val cpu: Int

The number of cpu units reserved for the container.

Link copied to clipboard

The dependencies defined for container startup and shutdown. A container can contain multiple dependencies on other containers in a task definition.

Link copied to clipboard

The entry point that's passed to the container.

Link copied to clipboard

The environment variables to pass to a container.

Link copied to clipboard

A list of files containing the environment variables to pass to a container.

Link copied to clipboard

If the essential parameter of a container is marked as true, and that container fails or stops for any reason, all other containers that are part of the task are stopped.

Link copied to clipboard

The FireLens configuration for the container. This is used to specify and configure a log router for container logs.

Link copied to clipboard

The container health check command and associated configuration parameters for the container.

Link copied to clipboard

The image used to start the container. This string is passed directly to the Docker daemon. Images in the Docker Hub registry are available by default. Other repositories are specified with either <i>repository-url</i>/<i>image</i>:<i>tag</i> or <i>repository-url</i>/<i>image</i>@<i>digest</i> .

Link copied to clipboard

When this parameter is true, you can deploy containerized applications that require stdin or a tty to be allocated.

Link copied to clipboard

Linux-specific modifications that are applied to the container configuration, such as Linux kernel capabilities.

Link copied to clipboard

The log configuration specification for the container.

Link copied to clipboard
val memory: Int?

The amount (in MiB) of memory to present to the container. If the container attempts to exceed the memory specified here, the container is killed.

Link copied to clipboard

The soft limit (in MiB) of memory to reserve for the container.

Link copied to clipboard

The mount points for data volumes in your container.

Link copied to clipboard
val name: String?

The name of the container. Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed.

Link copied to clipboard

When this parameter is true, the container is given elevated privileges on the host container instance (similar to the root user).

Link copied to clipboard

When this parameter is true, a TTY is allocated.

Link copied to clipboard

When this parameter is true, the container is given read-only access to its root file system.

Link copied to clipboard

The private repository authentication credentials to use.

Link copied to clipboard

The restart policy for the container. When you set up a restart policy, Amazon ECS can restart the container without needing to replace the task.

Link copied to clipboard

The secrets to pass to the container.

Link copied to clipboard

Time duration (in seconds) to wait before giving up on resolving dependencies for a container.

Link copied to clipboard

Time duration (in seconds) to wait before the container is forcefully killed if it doesn't exit normally on its own.

Link copied to clipboard

A list of namespaced kernel parameters to set in the container.

Link copied to clipboard

A list of ulimits to set in the container.

Link copied to clipboard
val user: String?

The user to use inside the container.

Link copied to clipboard

The working directory to run commands inside the container in.

Functions

Link copied to clipboard
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String