Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
Documentation
A data volume used in a job's container properties.
See: newVolume
smart constructor.
Volume' | |
|
Instances
Eq Volume Source # | |
Read Volume Source # | |
Show Volume Source # | |
Generic Volume Source # | |
NFData Volume Source # | |
Defined in Amazonka.Batch.Types.Volume | |
Hashable Volume Source # | |
Defined in Amazonka.Batch.Types.Volume | |
ToJSON Volume Source # | |
Defined in Amazonka.Batch.Types.Volume | |
FromJSON Volume Source # | |
type Rep Volume Source # | |
Defined in Amazonka.Batch.Types.Volume type Rep Volume = D1 ('MetaData "Volume" "Amazonka.Batch.Types.Volume" "libZSservicesZSamazonka-batchZSamazonka-batch" 'False) (C1 ('MetaCons "Volume'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "efsVolumeConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EFSVolumeConfiguration)) :*: S1 ('MetaSel ('Just "host") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Host))))) |
Create a value of Volume
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:name:Volume'
, volume_name
- 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
.
$sel:efsVolumeConfiguration:Volume'
, volume_efsVolumeConfiguration
- This parameter is specified when you are using an Amazon Elastic File
System file system for job storage. Jobs that are running on Fargate
resources must specify a platformVersion
of at least 1.4.0
.
$sel:host:Volume'
, volume_host
- 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 isn't guaranteed to persist after
the containers associated with it stop running.
This parameter isn't applicable to jobs that are running on Fargate resources and shouldn't be provided.
volume_name :: Lens' Volume (Maybe Text) Source #
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
.
volume_efsVolumeConfiguration :: Lens' Volume (Maybe EFSVolumeConfiguration) Source #
This parameter is specified when you are using an Amazon Elastic File
System file system for job storage. Jobs that are running on Fargate
resources must specify a platformVersion
of at least 1.4.0
.
volume_host :: Lens' Volume (Maybe Host) Source #
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 isn't guaranteed to persist after
the containers associated with it stop running.
This parameter isn't applicable to jobs that are running on Fargate resources and shouldn't be provided.