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 |
Documentation
Determine whether your data volume persists on the host container instance and where it is stored. If this parameter is empty, then the Docker daemon assigns a host path for your data volume, but the data isn't guaranteed to persist after the containers associated with it stop running.
See: newHost
smart constructor.
Host' | |
|
Instances
Eq Host Source # | |
Read Host Source # | |
Show Host Source # | |
Generic Host Source # | |
NFData Host Source # | |
Defined in Amazonka.Batch.Types.Host | |
Hashable Host Source # | |
Defined in Amazonka.Batch.Types.Host | |
ToJSON Host Source # | |
Defined in Amazonka.Batch.Types.Host | |
FromJSON Host Source # | |
type Rep Host Source # | |
Defined in Amazonka.Batch.Types.Host |
Create a value of Host
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:sourcePath:Host'
, host_sourcePath
- The path on the host container instance that's presented to the
container. If this parameter is empty, then the Docker daemon has
assigned a host path for you. If this parameter contains a file
location, then the data volume persists at the specified location on the
host container instance until you delete it manually. If the source path
location doesn't exist on the host container instance, the Docker
daemon creates it. If the location does exist, the contents of the
source path folder are exported.
This parameter isn't applicable to jobs that run on Fargate resources and shouldn't be provided.
host_sourcePath :: Lens' Host (Maybe Text) Source #
The path on the host container instance that's presented to the container. If this parameter is empty, then the Docker daemon has assigned a host path for you. If this parameter contains a file location, then the data volume persists at the specified location on the host container instance until you delete it manually. If the source path location doesn't exist on the host container instance, the Docker daemon creates it. If the location does exist, the contents of the source path folder are exported.
This parameter isn't applicable to jobs that run on Fargate resources and shouldn't be provided.