Volume

public struct Volume : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • 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. However, the data is not guaranteed to persist after the containers associated with it stop running.

    Declaration

    Swift

    public let host: Host?
  • 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.

    Declaration

    Swift

    public let name: String?
  • Undocumented

    Declaration

    Swift

    public init(host: Host? = nil, name: String? = nil)