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 for EksConfiguration
 
impl PartialEq 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 ==.impl StructuralPartialEq for EksConfiguration
Auto Trait Implementations§
impl Freeze for EksConfiguration
impl RefUnwindSafe for EksConfiguration
impl Send for EksConfiguration
impl Sync for EksConfiguration
impl Unpin for EksConfiguration
impl UnwindSafe for EksConfiguration
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
 
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
 
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
 
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
 
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
 
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more