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

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.

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.

Trait Implementations

impl Default for Volume
[src]

[src]

Returns the "default value" for a type. Read more

impl Debug for Volume
[src]

[src]

Formats the value using the given formatter.

impl Clone for Volume
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more