Skip to content

ECS  >  Structures  >  VolumeFrom

VolumeFrom

Structure Class

VolumeFrom dataclass

Bases: _SerdeShape

Details on a data volume from another container in the same task definition.

Attributes

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_container class-attribute instance-attribute
source_container: str | None = ...

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