AWS::Batch::ComputeEnvironment EksConfiguration - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::Batch::ComputeEnvironment EksConfiguration

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

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "EksClusterArn" : String, "KubernetesNamespace" : String }

YAML

EksClusterArn: String KubernetesNamespace: String

Properties

EksClusterArn

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

Required: Yes

Type: String

Update requires: Replacement

KubernetesNamespace

The namespace of the Amazon EKS cluster. Amazon 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.

Required: Yes

Type: String

Update requires: Replacement