amazonka-batch-2.0: Amazon Batch SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Batch.Types.EksContainerVolumeMount

Description

 
Synopsis

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

  • mountPath :: Maybe Text

    The path on the container where the volume is mounted.

  • name :: Maybe Text

    The name the volume mount. This must match the name of one of the volumes in the pod.

  • readOnly :: Maybe Bool

    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.

Instances

Instances details
FromJSON EksContainerVolumeMount Source # 
Instance details

Defined in Amazonka.Batch.Types.EksContainerVolumeMount

ToJSON EksContainerVolumeMount Source # 
Instance details

Defined in Amazonka.Batch.Types.EksContainerVolumeMount

Generic EksContainerVolumeMount Source # 
Instance details

Defined in Amazonka.Batch.Types.EksContainerVolumeMount

Associated Types

type Rep EksContainerVolumeMount :: Type -> Type #

Read EksContainerVolumeMount Source # 
Instance details

Defined in Amazonka.Batch.Types.EksContainerVolumeMount

Show EksContainerVolumeMount Source # 
Instance details

Defined in Amazonka.Batch.Types.EksContainerVolumeMount

NFData EksContainerVolumeMount Source # 
Instance details

Defined in Amazonka.Batch.Types.EksContainerVolumeMount

Methods

rnf :: EksContainerVolumeMount -> () #

Eq EksContainerVolumeMount Source # 
Instance details

Defined in Amazonka.Batch.Types.EksContainerVolumeMount

Hashable EksContainerVolumeMount Source # 
Instance details

Defined in Amazonka.Batch.Types.EksContainerVolumeMount

type Rep EksContainerVolumeMount Source # 
Instance details

Defined in Amazonka.Batch.Types.EksContainerVolumeMount

type Rep EksContainerVolumeMount = D1 ('MetaData "EksContainerVolumeMount" "Amazonka.Batch.Types.EksContainerVolumeMount" "amazonka-batch-2.0-Ey2VZ5obnq65VwmlrJ2r2K" 'False) (C1 ('MetaCons "EksContainerVolumeMount'" 'PrefixI 'True) (S1 ('MetaSel ('Just "mountPath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "readOnly") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))

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.