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
data VolumeFrom Source #
Details on a data volume from another container in the same task definition.
See: newVolumeFrom
smart constructor.
VolumeFrom' | |
|
Instances
newVolumeFrom :: VolumeFrom Source #
Create a value of VolumeFrom
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:sourceContainer:VolumeFrom'
, volumeFrom_sourceContainer
- The name of another container within the same task definition from which
to mount volumes.
$sel:readOnly:VolumeFrom'
, volumeFrom_readOnly
- If this value is true
, the container has read-only access to the
volume. If this value is false
, then the container can write to the
volume. The default value is false
.
volumeFrom_sourceContainer :: Lens' VolumeFrom (Maybe Text) Source #
The name of another container within the same task definition from which to mount volumes.
volumeFrom_readOnly :: Lens' VolumeFrom (Maybe Bool) Source #
If this value is true
, the container has read-only access to the
volume. If this value is false
, then the container can write to the
volume. The default value is false
.