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

Description

 
Synopsis

Documentation

data EksConfiguration Source #

Configuration for the Amazon EKS cluster that supports the Batch compute environment. The cluster must exist before the compute environment can be created.

See: newEksConfiguration smart constructor.

Constructors

EksConfiguration' 

Fields

  • eksClusterArn :: Text

    The Amazon Resource Name (ARN) of the Amazon EKS cluster. An example is arn:aws:eks:us-east-1:123456789012:cluster/ClusterForBatch .

  • kubernetesNamespace :: Text

    The namespace of the Amazon EKS cluster. Batch manages pods in this namespace. The value can't left empty or null. It must be fewer than 64 characters long, can't be set to default, can't start with "kube-," and must match this regular expression: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$. For more information, see Namespaces in the Kubernetes documentation.

Instances

Instances details
FromJSON EksConfiguration Source # 
Instance details

Defined in Amazonka.Batch.Types.EksConfiguration

ToJSON EksConfiguration Source # 
Instance details

Defined in Amazonka.Batch.Types.EksConfiguration

Generic EksConfiguration Source # 
Instance details

Defined in Amazonka.Batch.Types.EksConfiguration

Associated Types

type Rep EksConfiguration :: Type -> Type #

Read EksConfiguration Source # 
Instance details

Defined in Amazonka.Batch.Types.EksConfiguration

Show EksConfiguration Source # 
Instance details

Defined in Amazonka.Batch.Types.EksConfiguration

NFData EksConfiguration Source # 
Instance details

Defined in Amazonka.Batch.Types.EksConfiguration

Methods

rnf :: EksConfiguration -> () #

Eq EksConfiguration Source # 
Instance details

Defined in Amazonka.Batch.Types.EksConfiguration

Hashable EksConfiguration Source # 
Instance details

Defined in Amazonka.Batch.Types.EksConfiguration

type Rep EksConfiguration Source # 
Instance details

Defined in Amazonka.Batch.Types.EksConfiguration

type Rep EksConfiguration = D1 ('MetaData "EksConfiguration" "Amazonka.Batch.Types.EksConfiguration" "amazonka-batch-2.0-Ey2VZ5obnq65VwmlrJ2r2K" 'False) (C1 ('MetaCons "EksConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "eksClusterArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "kubernetesNamespace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newEksConfiguration Source #

Create a value of EksConfiguration 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:eksClusterArn:EksConfiguration', eksConfiguration_eksClusterArn - The Amazon Resource Name (ARN) of the Amazon EKS cluster. An example is arn:aws:eks:us-east-1:123456789012:cluster/ClusterForBatch .

$sel:kubernetesNamespace:EksConfiguration', eksConfiguration_kubernetesNamespace - The namespace of the Amazon EKS cluster. Batch manages pods in this namespace. The value can't left empty or null. It must be fewer than 64 characters long, can't be set to default, can't start with "kube-," and must match this regular expression: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$. For more information, see Namespaces in the Kubernetes documentation.

eksConfiguration_eksClusterArn :: Lens' EksConfiguration Text Source #

The Amazon Resource Name (ARN) of the Amazon EKS cluster. An example is arn:aws:eks:us-east-1:123456789012:cluster/ClusterForBatch .

eksConfiguration_kubernetesNamespace :: Lens' EksConfiguration Text Source #

The namespace of the Amazon EKS cluster. Batch manages pods in this namespace. The value can't left empty or null. It must be fewer than 64 characters long, can't be set to default, can't start with "kube-," and must match this regular expression: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$. For more information, see Namespaces in the Kubernetes documentation.