Skip to content

MountPoint

Source code in docs_src/capo_ecs/types/mount_point.py
class MountPoint(TypedDict, closed=True):
    source_volume: NotRequired["capo_ecs.types.string.String"]
    """<p>The name of the volume to mount. Must be a volume name referenced in the <code>name</code> parameter of task definition <code>volume</code>.</p>"""
    container_path: NotRequired["capo_ecs.types.string.String"]
    """<p>The path on the container to mount the host volume at.</p>"""
    read_only: NotRequired["capo_ecs.types.boxed_boolean.BoxedBoolean"]
    """<p>If this value is <code>true</code>, the container has read-only access to the volume. If this value is <code>false</code>, then the container can write to the volume. The default value is <code>false</code>.</p>"""

container_path instance-attribute

container_path: NotRequired[String]

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

read_only instance-attribute

read_only: NotRequired[BoxedBoolean]

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 instance-attribute

source_volume: NotRequired[String]

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