Skip to content

VolumeFrom

Source code in docs_src/capo_ecs/types/volume_from.py
class VolumeFrom(TypedDict, closed=True):
    source_container: NotRequired["capo_ecs.types.string.String"]
    """<p>The name of another container within the same task definition to mount volumes from.</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>"""

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

source_container: NotRequired[String]

The name of another container within the same task definition to mount volumes from.