Skip to content

DaemonVolume

Source code in docs_src/capo_ecs/types/daemon_volume.py
class DaemonVolume(TypedDict, closed=True):
    name: NotRequired["capo_ecs.types.string.String"]
    """<p>The name of the volume. Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed.</p>"""
    host: NotRequired["capo_ecs.types.host_volume_properties.HostVolumeProperties"]
    """<p>The contents of the <code>host</code> parameter determine whether your bind mount host volume persists on the host container instance and where it's stored.</p>"""
    log_driver_volume_configuration: NotRequired[
        "capo_ecs.types.log_driver_volume_configuration.LogDriverVolumeConfiguration"
    ]
    """<p>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 <code>mountPoints</code>.</p> <p>Use <code>host</code> to bind mount a path on the container instance. Use <code>logDriverVolumeConfiguration</code> to read the log output of other tasks. You can't specify both for the same volume.</p>"""

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.

name instance-attribute

name: NotRequired[String]

The name of the volume. Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed.