DaemonContainerDefinition
¶
Source code in docs_src/capo_ecs/types/daemon_container_definition.py
command
instance-attribute
¶
command: NotRequired[StringList]
The command that's passed to the container.
depends_on
instance-attribute
¶
depends_on: NotRequired[ContainerDependencies]
The dependencies defined for container startup and shutdown. A container can contain multiple dependencies on other containers in a task definition.
entry_point
instance-attribute
¶
entry_point: NotRequired[StringList]
The entry point that's passed to the container.
environment
instance-attribute
¶
environment: NotRequired[EnvironmentVariables]
The environment variables to pass to a container.
environment_files
instance-attribute
¶
environment_files: NotRequired[EnvironmentFiles]
A list of files containing the environment variables to pass to a container.
essential
instance-attribute
¶
essential: NotRequired[BoxedBoolean]
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.
firelens_configuration
instance-attribute
¶
firelens_configuration: NotRequired[FirelensConfiguration]
The FireLens configuration for the container. This is used to specify and configure a log router for container logs.
health_check
instance-attribute
¶
health_check: NotRequired[HealthCheck]
The container health check command and associated configuration parameters for the container.
image
instance-attribute
¶
image: String
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 repository-url/image:tag or repository-url/image@digest .
interactive
instance-attribute
¶
interactive: NotRequired[BoxedBoolean]
When this parameter is true, you can deploy containerized applications that require stdin or a tty to be allocated.
linux_parameters
instance-attribute
¶
linux_parameters: NotRequired[DaemonLinuxParameters]
Linux-specific modifications that are applied to the container configuration, such as Linux kernel capabilities.
log_configuration
instance-attribute
¶
log_configuration: NotRequired[LogConfiguration]
The log configuration specification for the container.
memory
instance-attribute
¶
memory: NotRequired[BoxedInteger]
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.
memory_reservation
instance-attribute
¶
memory_reservation: NotRequired[BoxedInteger]
The soft limit (in MiB) of memory to reserve for the container.
mount_points
instance-attribute
¶
mount_points: NotRequired[MountPointList]
The mount points for data volumes in your container.
name
instance-attribute
¶
name: NotRequired[String]
The name of the container. Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed.
privileged
instance-attribute
¶
privileged: NotRequired[BoxedBoolean]
When this parameter is true, the container is given elevated privileges on the host container instance (similar to the root user).
pseudo_terminal
instance-attribute
¶
pseudo_terminal: NotRequired[BoxedBoolean]
When this parameter is true, a TTY is allocated.
readonly_root_filesystem
instance-attribute
¶
readonly_root_filesystem: NotRequired[BoxedBoolean]
When this parameter is true, the container is given read-only access to its root file system.
repository_credentials
instance-attribute
¶
repository_credentials: NotRequired[RepositoryCredentials]
The private repository authentication credentials to use.
restart_policy
instance-attribute
¶
restart_policy: NotRequired[ContainerRestartPolicy]
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.
start_timeout
instance-attribute
¶
start_timeout: NotRequired[BoxedInteger]
Time duration (in seconds) to wait before giving up on resolving dependencies for a container.
stop_timeout
instance-attribute
¶
stop_timeout: NotRequired[BoxedInteger]
Time duration (in seconds) to wait before the container is forcefully killed if it doesn't exit normally on its own.
system_controls
instance-attribute
¶
system_controls: NotRequired[SystemControls]
A list of namespaced kernel parameters to set in the container.
ulimits
instance-attribute
¶
ulimits: NotRequired[UlimitList]
A list of ulimits to set in the container.