DaemonContainerDefinitionDict¶
Dictionary Type¶
DaemonContainerDefinitionDict
¶
Bases: TypedDict
Dictionary form of DaemonContainerDefinition.
Attributes¶
command
instance-attribute
¶
The command that's passed to the container.
depends_on
instance-attribute
¶
depends_on: Sequence[ContainerDependency | ContainerDependencyDict] | None
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
¶
The entry point that's passed to the container.
environment
instance-attribute
¶
environment: Sequence[KeyValuePair | KeyValuePairDict] | None
The environment variables to pass to a container.
environment_files
instance-attribute
¶
environment_files: Sequence[EnvironmentFile | EnvironmentFileDict] | None
A list of files containing the environment variables to pass to a container.
essential
instance-attribute
¶
essential: bool | None
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: FirelensConfiguration | FirelensConfigurationDict | None
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: HealthCheck | HealthCheckDict | None
The container health check command and associated configuration parameters for the container.
image
instance-attribute
¶
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: bool | None
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: DaemonLinuxParameters | DaemonLinuxParametersDict | None
Linux-specific modifications that are applied to the container configuration, such as Linux kernel capabilities.
log_configuration
instance-attribute
¶
log_configuration: LogConfiguration | LogConfigurationDict | None
The log configuration specification for the container.
memory
instance-attribute
¶
memory: int | None
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: int | None
The soft limit (in MiB) of memory to reserve for the container.
mount_points
instance-attribute
¶
mount_points: Sequence[MountPoint | MountPointDict] | None
The mount points for data volumes in your container.
name
instance-attribute
¶
name: str | None
The name of the container. Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed.
privileged
instance-attribute
¶
privileged: bool | None
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: bool | None
When this parameter is true, a TTY is allocated.
readonly_root_filesystem
instance-attribute
¶
readonly_root_filesystem: bool | None
When this parameter is true, the container is given read-only access to its root file system.
repository_credentials
instance-attribute
¶
repository_credentials: RepositoryCredentials | RepositoryCredentialsDict | None
The private repository authentication credentials to use.
restart_policy
instance-attribute
¶
restart_policy: ContainerRestartPolicy | ContainerRestartPolicyDict | None
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.
secrets
instance-attribute
¶
secrets: Sequence[Secret | SecretDict] | None
The secrets to pass to the container.
start_timeout
instance-attribute
¶
start_timeout: int | None
Time duration (in seconds) to wait before giving up on resolving dependencies for a container.
stop_timeout
instance-attribute
¶
stop_timeout: int | None
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: Sequence[SystemControl | SystemControlDict] | None
A list of namespaced kernel parameters to set in the container.
ulimits
instance-attribute
¶
ulimits: Sequence[Ulimit | UlimitDict] | None
A list of ulimits to set in the container.