Skip to content

ECS  >  Structures  >  MountPoint

MountPoint

Structure Class

MountPoint dataclass

Bases: _SerdeShape

The details for a volume mount point that's used in a container definition.

Attributes

container_path class-attribute instance-attribute
container_path: str | None = ...

The path on the container to mount the host volume at.

read_only class-attribute instance-attribute
read_only: bool | None = ...

If this value is true, the container has read-only access to the volume. If this value is false, then the container can write to the volume. The default value is false.

source_volume class-attribute instance-attribute
source_volume: str | None = ...

The name of the volume to mount. Must be a volume name referenced in the name parameter of task definition volume.