Class CfnComputeEnvironmentPropsMixin.EksConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.batch.CfnComputeEnvironmentPropsMixin.EksConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnComputeEnvironmentPropsMixin.EksConfigurationProperty>
- Enclosing interface:
CfnComputeEnvironmentPropsMixin.EksConfigurationProperty
@Stability(Stable)
public static final class CfnComputeEnvironmentPropsMixin.EksConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnComputeEnvironmentPropsMixin.EksConfigurationProperty>
A builder for
CfnComputeEnvironmentPropsMixin.EksConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccessEntry(IResolvable accessEntry) build()Builds the configured instance.eksClusterArn(String eksClusterArn) kubernetesNamespace(String kubernetesNamespace)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accessEntry
@Stability(Stable) public CfnComputeEnvironmentPropsMixin.EksConfigurationProperty.Builder accessEntry(IResolvable accessEntry) - Parameters:
accessEntry- The EKS access entry configuration for the compute environment. Controls whether AWS Batch manages the EKS access entry for the compute environment's service role, or inherits it from the cluster.- Returns:
this
-
accessEntry
@Stability(Stable) public CfnComputeEnvironmentPropsMixin.EksConfigurationProperty.Builder accessEntry(CfnComputeEnvironmentPropsMixin.EksAccessEntryProperty accessEntry) - Parameters:
accessEntry- The EKS access entry configuration for the compute environment. Controls whether AWS Batch manages the EKS access entry for the compute environment's service role, or inherits it from the cluster.- Returns:
this
-
eksClusterArn
@Stability(Stable) public CfnComputeEnvironmentPropsMixin.EksConfigurationProperty.Builder eksClusterArn(String eksClusterArn) - Parameters:
eksClusterArn- The Amazon Resource Name (ARN) of the Amazon EKS cluster. An example isarn: *aws* :eks: *us-east-1* : *123456789012* :cluster/ *ClusterForBatch*.- Returns:
this
-
kubernetesNamespace
@Stability(Stable) public CfnComputeEnvironmentPropsMixin.EksConfigurationProperty.Builder kubernetesNamespace(String kubernetesNamespace) - Parameters:
kubernetesNamespace- 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 todefault, 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.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnComputeEnvironmentPropsMixin.EksConfigurationProperty>- Returns:
- a new instance of
CfnComputeEnvironmentPropsMixin.EksConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-