/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the batch-2016-08-10.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Batch.Model { /// /// Configuration for the Amazon EKS cluster that supports the Batch compute environment. /// The cluster must exist before the compute environment can be created. /// public partial class EksConfiguration { private string _eksClusterArn; private string _kubernetesNamespace; /// /// Gets and sets the property EksClusterArn. /// /// The Amazon Resource Name (ARN) of the Amazon EKS cluster. An example is arn:aws:eks:us-east-1:123456789012:cluster/ClusterForBatch /// . /// /// [AWSProperty(Required=true)] public string EksClusterArn { get { return this._eksClusterArn; } set { this._eksClusterArn = value; } } // Check to see if EksClusterArn property is set internal bool IsSetEksClusterArn() { return this._eksClusterArn != null; } /// /// Gets and sets the property 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. /// /// [AWSProperty(Required=true)] public string KubernetesNamespace { get { return this._kubernetesNamespace; } set { this._kubernetesNamespace = value; } } // Check to see if KubernetesNamespace property is set internal bool IsSetKubernetesNamespace() { return this._kubernetesNamespace != null; } } }