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 MountPoint Source #
Details for a volume mount point that's used in a container definition.
See: newMountPoint
smart constructor.
MountPoint' | |
|
Instances
newMountPoint :: MountPoint Source #
Create a value of MountPoint
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:containerPath:MountPoint'
, mountPoint_containerPath
- The path on the container to mount the host volume at.
$sel:readOnly:MountPoint'
, mountPoint_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:sourceVolume:MountPoint'
, mountPoint_sourceVolume
- The name of the volume to mount. Must be a volume name referenced in the
name
parameter of task definition volume
.
mountPoint_containerPath :: Lens' MountPoint (Maybe Text) Source #
The path on the container to mount the host volume at.
mountPoint_readOnly :: Lens' MountPoint (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
.
mountPoint_sourceVolume :: Lens' MountPoint (Maybe Text) Source #
The name of the volume to mount. Must be a volume name referenced in the
name
parameter of task definition volume
.