Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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: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
.
$sel:sourceContainer:VolumeFrom'
, volumeFrom_sourceContainer
- The name of another container within the same task definition to mount
volumes from.
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
.
volumeFrom_sourceContainer :: Lens' VolumeFrom (Maybe Text) Source #
The name of another container within the same task definition to mount volumes from.