DaemonVolume
¶
Source code in docs_src/capo_ecs/types/daemon_volume.py
host
instance-attribute
¶
host: NotRequired[HostVolumeProperties]
The contents of the host parameter determine whether your bind mount host volume persists on the host container instance and where it's stored.
log_driver_volume_configuration
instance-attribute
¶
log_driver_volume_configuration: NotRequired[LogDriverVolumeConfiguration]
The log driver volume configuration. With a log driver volume, the containers in a daemon task can read the log files that a log driver writes for the other tasks on the container instance. To read the log files, mount the volume into a container in the daemon task with mountPoints.
Use host to bind mount a path on the container instance. Use logDriverVolumeConfiguration to read the log output of other tasks. You can't specify both for the same volume.