Fugue.AWS.ECS.Volume

Table of Contents

Module Members

new

(Function)

Define a volume for use in a container.

Example Usage:

data: ECS.Volume.new {
  name: "data",
  sourcePath: "/srv/data",
}

Type Signature

 fun { name: String,
       sourcePath: Optional<String> } -> Volume
Argument: name

The name of the volume.

Type: String

Argument: sourcePath

The path on the container host corresponding to the volume. If omitted, docker will create an ephemeral volume for the container.

Type: Optional<String>

Returns:

A Fugue.Core.AWS.ECS.Volume value.

Type: Volume