Struct aws_sdk_batch::types::EksPodPropertiesOverride
source · #[non_exhaustive]pub struct EksPodPropertiesOverride {
pub containers: Option<Vec<EksContainerOverride>>,
pub init_containers: Option<Vec<EksContainerOverride>>,
pub metadata: Option<EksMetadata>,
}
Expand description
An object that contains overrides for the Kubernetes pod properties of a job.
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.containers: Option<Vec<EksContainerOverride>>
The overrides for the container that's used on the Amazon EKS pod.
init_containers: Option<Vec<EksContainerOverride>>
The overrides for the conatainers defined in the Amazon EKS pod. These containers run before application containers, always runs to completion, and must complete successfully before the next container starts. These containers are registered with the Amazon EKS Connector agent and persists the registration information in the Kubernetes backend data store. For more information, see Init Containers in the Kubernetes documentation.
This object is limited to 10 elements
metadata: Option<EksMetadata>
Metadata about the overrides for the container that's used on the Amazon EKS pod.
Implementations§
source§impl EksPodPropertiesOverride
impl EksPodPropertiesOverride
sourcepub fn containers(&self) -> &[EksContainerOverride]
pub fn containers(&self) -> &[EksContainerOverride]
The overrides for the container that's used on the Amazon EKS pod.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .containers.is_none()
.
sourcepub fn init_containers(&self) -> &[EksContainerOverride]
pub fn init_containers(&self) -> &[EksContainerOverride]
The overrides for the conatainers defined in the Amazon EKS pod. These containers run before application containers, always runs to completion, and must complete successfully before the next container starts. These containers are registered with the Amazon EKS Connector agent and persists the registration information in the Kubernetes backend data store. For more information, see Init Containers in the Kubernetes documentation.
This object is limited to 10 elements
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .init_containers.is_none()
.
sourcepub fn metadata(&self) -> Option<&EksMetadata>
pub fn metadata(&self) -> Option<&EksMetadata>
Metadata about the overrides for the container that's used on the Amazon EKS pod.
source§impl EksPodPropertiesOverride
impl EksPodPropertiesOverride
sourcepub fn builder() -> EksPodPropertiesOverrideBuilder
pub fn builder() -> EksPodPropertiesOverrideBuilder
Creates a new builder-style object to manufacture EksPodPropertiesOverride
.
Trait Implementations§
source§impl Clone for EksPodPropertiesOverride
impl Clone for EksPodPropertiesOverride
source§fn clone(&self) -> EksPodPropertiesOverride
fn clone(&self) -> EksPodPropertiesOverride
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EksPodPropertiesOverride
impl Debug for EksPodPropertiesOverride
source§impl PartialEq for EksPodPropertiesOverride
impl PartialEq for EksPodPropertiesOverride
impl StructuralPartialEq for EksPodPropertiesOverride
Auto Trait Implementations§
impl Freeze for EksPodPropertiesOverride
impl RefUnwindSafe for EksPodPropertiesOverride
impl Send for EksPodPropertiesOverride
impl Sync for EksPodPropertiesOverride
impl Unpin for EksPodPropertiesOverride
impl UnwindSafe for EksPodPropertiesOverride
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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