Struct rusoto_ecs::Volume
[−]
[src]
pub struct Volume { pub host: Option<HostVolumeProperties>, pub name: Option<String>, }
A data volume used in a task definition.
Fields
host: Option<HostVolumeProperties>
The contents of the host
parameter determine whether your data volume persists on the host container instance and where it is stored. If the host parameter is empty, then the Docker daemon assigns a host path for your data volume, but the data is not guaranteed to persist after the containers associated with it stop running.
name: Option<String>
The name of the volume. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed. This name is referenced in the sourceVolume
parameter of container definition mountPoints
.