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.EksVolume

Description

 
Synopsis

Documentation

data EksVolume Source #

Specifies an Amazon EKS volume for a job definition.

See: newEksVolume smart constructor.

Constructors

EksVolume' 

Fields

  • emptyDir :: Maybe EksEmptyDir

    Specifies the configuration of a Kubernetes emptyDir volume. For more information, see emptyDir in the Kubernetes documentation.

  • hostPath :: Maybe EksHostPath

    Specifies the configuration of a Kubernetes hostPath volume. For more information, see hostPath in the Kubernetes documentation.

  • secret :: Maybe EksSecret

    Specifies the configuration of a Kubernetes secret volume. For more information, see secret in the Kubernetes documentation.

  • name :: Text

    The name of the volume. The name must be allowed as a DNS subdomain name. For more information, see DNS subdomain names in the Kubernetes documentation.

Instances

Instances details
FromJSON EksVolume Source # 
Instance details

Defined in Amazonka.Batch.Types.EksVolume

ToJSON EksVolume Source # 
Instance details

Defined in Amazonka.Batch.Types.EksVolume

Generic EksVolume Source # 
Instance details

Defined in Amazonka.Batch.Types.EksVolume

Associated Types

type Rep EksVolume :: Type -> Type #

Read EksVolume Source # 
Instance details

Defined in Amazonka.Batch.Types.EksVolume

Show EksVolume Source # 
Instance details

Defined in Amazonka.Batch.Types.EksVolume

NFData EksVolume Source # 
Instance details

Defined in Amazonka.Batch.Types.EksVolume

Methods

rnf :: EksVolume -> () #

Eq EksVolume Source # 
Instance details

Defined in Amazonka.Batch.Types.EksVolume

Hashable EksVolume Source # 
Instance details

Defined in Amazonka.Batch.Types.EksVolume

type Rep EksVolume Source # 
Instance details

Defined in Amazonka.Batch.Types.EksVolume

type Rep EksVolume = D1 ('MetaData "EksVolume" "Amazonka.Batch.Types.EksVolume" "amazonka-batch-2.0-Ey2VZ5obnq65VwmlrJ2r2K" 'False) (C1 ('MetaCons "EksVolume'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "emptyDir") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EksEmptyDir)) :*: S1 ('MetaSel ('Just "hostPath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EksHostPath))) :*: (S1 ('MetaSel ('Just "secret") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EksSecret)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newEksVolume Source #

Create a value of EksVolume 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:emptyDir:EksVolume', eksVolume_emptyDir - Specifies the configuration of a Kubernetes emptyDir volume. For more information, see emptyDir in the Kubernetes documentation.

$sel:hostPath:EksVolume', eksVolume_hostPath - Specifies the configuration of a Kubernetes hostPath volume. For more information, see hostPath in the Kubernetes documentation.

$sel:secret:EksVolume', eksVolume_secret - Specifies the configuration of a Kubernetes secret volume. For more information, see secret in the Kubernetes documentation.

$sel:name:EksVolume', eksVolume_name - The name of the volume. The name must be allowed as a DNS subdomain name. For more information, see DNS subdomain names in the Kubernetes documentation.

eksVolume_emptyDir :: Lens' EksVolume (Maybe EksEmptyDir) Source #

Specifies the configuration of a Kubernetes emptyDir volume. For more information, see emptyDir in the Kubernetes documentation.

eksVolume_hostPath :: Lens' EksVolume (Maybe EksHostPath) Source #

Specifies the configuration of a Kubernetes hostPath volume. For more information, see hostPath in the Kubernetes documentation.

eksVolume_secret :: Lens' EksVolume (Maybe EksSecret) Source #

Specifies the configuration of a Kubernetes secret volume. For more information, see secret in the Kubernetes documentation.

eksVolume_name :: Lens' EksVolume Text Source #

The name of the volume. The name must be allowed as a DNS subdomain name. For more information, see DNS subdomain names in the Kubernetes documentation.