Struct aws_sdk_batch::types::EksVolume
source · #[non_exhaustive]pub struct EksVolume {
pub name: Option<String>,
pub host_path: Option<EksHostPath>,
pub empty_dir: Option<EksEmptyDir>,
pub secret: Option<EksSecret>,
}
Expand description
Specifies an Amazon EKS volume for a job definition.
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.name: Option<String>
The name of the volume. The name must be allowed as a DNS subdomain name. For more information, see DNS subdomain names in the Kubernetes documentation.
host_path: Option<EksHostPath>
Specifies the configuration of a Kubernetes hostPath
volume. For more information, see hostPath in the Kubernetes documentation.
empty_dir: Option<EksEmptyDir>
Specifies the configuration of a Kubernetes emptyDir
volume. For more information, see emptyDir in the Kubernetes documentation.
secret: Option<EksSecret>
Specifies the configuration of a Kubernetes secret
volume. For more information, see secret in the Kubernetes documentation.
Implementations§
source§impl EksVolume
impl EksVolume
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
The name of the volume. The name must be allowed as a DNS subdomain name. For more information, see DNS subdomain names in the Kubernetes documentation.
sourcepub fn host_path(&self) -> Option<&EksHostPath>
pub fn host_path(&self) -> Option<&EksHostPath>
Specifies the configuration of a Kubernetes hostPath
volume. For more information, see hostPath in the Kubernetes documentation.
sourcepub fn empty_dir(&self) -> Option<&EksEmptyDir>
pub fn empty_dir(&self) -> Option<&EksEmptyDir>
Specifies the configuration of a Kubernetes emptyDir
volume. For more information, see emptyDir in the Kubernetes documentation.