Struct aws_sdk_batch::types::EksConfiguration
source · #[non_exhaustive]pub struct EksConfiguration {
pub eks_cluster_arn: Option<String>,
pub kubernetes_namespace: Option<String>,
}
Expand description
Configuration for the Amazon EKS cluster that supports the Batch compute environment. The cluster must exist before the compute environment can be created.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.eks_cluster_arn: Option<String>
The Amazon Resource Name (ARN) of the Amazon EKS cluster. An example is arn:aws:eks:us-east-1:123456789012:cluster/ClusterForBatch
.
kubernetes_namespace: Option<String>
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.
Implementations§
source§impl EksConfiguration
impl EksConfiguration
sourcepub fn eks_cluster_arn(&self) -> Option<&str>
pub fn eks_cluster_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the Amazon EKS cluster. An example is arn:aws:eks:us-east-1:123456789012:cluster/ClusterForBatch
.
sourcepub fn kubernetes_namespace(&self) -> Option<&str>
pub fn kubernetes_namespace(&self) -> Option<&str>
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.
source§impl EksConfiguration
impl EksConfiguration
sourcepub fn builder() -> EksConfigurationBuilder
pub fn builder() -> EksConfigurationBuilder
Creates a new builder-style object to manufacture EksConfiguration
.
Trait Implementations§
source§impl Clone for EksConfiguration
impl Clone for EksConfiguration
source§fn clone(&self) -> EksConfiguration
fn clone(&self) -> EksConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EksConfiguration
impl Debug for EksConfiguration
source§impl PartialEq<EksConfiguration> for EksConfiguration
impl PartialEq<EksConfiguration> for EksConfiguration
source§fn eq(&self, other: &EksConfiguration) -> bool
fn eq(&self, other: &EksConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.