View a markdown version of this page

DaemonVolume - Amazon Elastic Container Service

DaemonVolume

A data volume definition for a daemon task.

Contents

host

The contents of the host parameter determine whether your bind mount host volume persists on the host container instance and where it's stored.

Type: HostVolumeProperties object

Required: No

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.

Type: LogDriverVolumeConfiguration object

Required: No

name

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

Type: String

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: