Interface CfnComputeEnvironment.EksConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnComputeEnvironment.EksConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnComputeEnvironment
@Stability(Stable)
public static interface CfnComputeEnvironment.EksConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Configuration for the Amazon EKS cluster that supports the AWS Batch compute environment.
The cluster must exist before the compute environment can be created.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.batch.*; EksConfigurationProperty eksConfigurationProperty = EksConfigurationProperty.builder() .eksClusterArn("eksClusterArn") .kubernetesNamespace("kubernetesNamespace") .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnComputeEnvironment.EksConfigurationProperty
static final class
An implementation forCfnComputeEnvironment.EksConfigurationProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The Amazon Resource Name (ARN) of the Amazon EKS cluster.The namespace of the Amazon EKS cluster.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEksClusterArn
The Amazon Resource Name (ARN) of the Amazon EKS cluster.An example is
arn: *aws* :eks: *us-east-1* : *123456789012* :cluster/ *ClusterForBatch*
.- See Also:
-
getKubernetesNamespace
The namespace of the Amazon EKS cluster.AWS 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.- See Also:
-
builder
-