#[non_exhaustive]
pub struct AwsEcsTaskDefinitionContainerDefinitionsDetails { /* private fields */ }
Expand description

A container definition that describes a container in the task.

Implementations§

The command that is passed to the container.

The number of CPU units reserved for the container.

The dependencies that are defined for container startup and shutdown.

Whether to disable networking within the container.

A list of DNS search domains that are presented to the container.

A list of DNS servers that are presented to the container.

A key-value map of labels to add to the container.

A list of strings to provide custom labels for SELinux and AppArmor multi-level security systems.

The entry point that is passed to the container.

The environment variables to pass to a container.

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

Whether the container is essential. All tasks must have at least one essential container.

A list of hostnames and IP address mappings to append to the /etc/hosts file on the container.

The FireLens configuration for the container. Specifies and configures a log router for container logs.

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

The hostname to use for the container.

The image used to start the container.

If set to true, then containerized applications can be deployed that require stdin or a tty to be allocated.

A list of links for the container in the form container_name:alias . Allows containers to communicate with each other without the need for port mappings.

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

The log configuration specification for the container.

The amount (in MiB) of memory to present to the container. If the container attempts to exceed the memory specified here, the container is shut down. The total amount of memory reserved for all containers within a task must be lower than the task memory value, if one is specified.

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

The mount points for the data volumes in the container.

The name of the container.

The list of port mappings for the container.

Whether the container is given elevated privileges on the host container instance. The elevated privileges are similar to the root user.

Whether to allocate a TTY to the container.

Whether the container is given read-only access to its root file system.

The private repository authentication credentials to use.

The type and amount of a resource to assign to a container. The only supported resource is a GPU.

The secrets to pass to the container.

The number of seconds to wait before giving up on resolving dependencies for a container.

The number of seconds to wait before the container is stopped if it doesn't shut down normally on its own.

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

A list of ulimits to set in the container.

The user to use inside the container.

The value can use one of the following formats.

  • user

  • user : group

  • uid

  • uid : gid

  • user : gid

  • uid : group

Data volumes to mount from another container.

The working directory in which to run commands inside the container.

Creates a new builder-style object to manufacture AwsEcsTaskDefinitionContainerDefinitionsDetails.

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
This method tests for self and other values to be equal, and is used by ==.
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more