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 |
Amazonka.Batch.Types.EksContainerVolumeMount
Description
Synopsis
- data EksContainerVolumeMount = EksContainerVolumeMount' {}
- newEksContainerVolumeMount :: EksContainerVolumeMount
- eksContainerVolumeMount_mountPath :: Lens' EksContainerVolumeMount (Maybe Text)
- eksContainerVolumeMount_name :: Lens' EksContainerVolumeMount (Maybe Text)
- eksContainerVolumeMount_readOnly :: Lens' EksContainerVolumeMount (Maybe Bool)
Documentation
data EksContainerVolumeMount Source #
The volume mounts for a container for an Amazon EKS job. For more information about volumes and volume mounts in Kubernetes, see Volumes in the Kubernetes documentation.
See: newEksContainerVolumeMount
smart constructor.
Constructors
EksContainerVolumeMount' | |
Fields
|
Instances
newEksContainerVolumeMount :: EksContainerVolumeMount Source #
Create a value of EksContainerVolumeMount
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:mountPath:EksContainerVolumeMount'
, eksContainerVolumeMount_mountPath
- The path on the container where the volume is mounted.
$sel:name:EksContainerVolumeMount'
, eksContainerVolumeMount_name
- The name the volume mount. This must match the name of one of the
volumes in the pod.
$sel:readOnly:EksContainerVolumeMount'
, eksContainerVolumeMount_readOnly
- If this value is true
, the container has read-only access to the
volume. Otherwise, the container can write to the volume. The default
value is false
.
eksContainerVolumeMount_mountPath :: Lens' EksContainerVolumeMount (Maybe Text) Source #
The path on the container where the volume is mounted.
eksContainerVolumeMount_name :: Lens' EksContainerVolumeMount (Maybe Text) Source #
The name the volume mount. This must match the name of one of the volumes in the pod.
eksContainerVolumeMount_readOnly :: Lens' EksContainerVolumeMount (Maybe Bool) Source #
If this value is true
, the container has read-only access to the
volume. Otherwise, the container can write to the volume. The default
value is false
.