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
source§fn eq(&self, other: &EksPodPropertiesOverride) -> bool
fn eq(&self, other: &EksPodPropertiesOverride) -> bool
self
and other
values to be equal, and is used
by ==
.